Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 201 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 75.88 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.932/0.9342, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002504/0.9367, allocations: 0.6897 MB / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.9389, allocations: 1.201 MB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.939, allocations: 0 / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.939, allocations: 3.938 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.9391, allocations: 23.84 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009655/0.9401, allocations: 221.2 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.9404, allocations: 179.6 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.9405, allocations: 11.98 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.9407, allocations: 71.83 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.9409, allocations: 67.83 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.941, allocations: 16 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.9411, allocations: 27.98 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.9411, allocations: 11.94 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.9412, allocations: 63.88 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.9415, allocations: 158.2 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.9415, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9415, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.9415, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007729/0.9423, allocations: 442.7 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.9423, allocations: 8.031 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.9424, allocations: 12.89 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.9426, allocations: 180.2 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.9426, allocations: 4.375 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.9427, allocations: 16.36 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.9428, allocations: 57.61 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.9428, allocations: 0 / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.9428, allocations: 0 / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.9428, allocations: 0 / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.004e-05/0.9429, allocations: 12 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.9435, allocations: 356.7 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.9436, allocations: 44.05 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.9437, allocations: 20.86 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.9437, allocations: 0 / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.9439, allocations: 95.33 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.9439, allocations: 0 / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003202/0.9442, allocations: 129.8 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.9442, allocations: 59.41 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.9444, allocations: 121.8 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.9444, allocations: 29.7 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.9445, allocations: 92.38 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.9445, allocations: 15.86 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.9446, allocations: 57.67 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.9448, allocations: 322.8 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.945, allocations: 59.95 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.9451, allocations: 110 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.9454, allocations: 189.3 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9454, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005015/0.9459, allocations: 284.8 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.448e-05/0.946, allocations: 71.39 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.946, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.946, allocations: 4 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.9461, allocations: 7.938 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.9461, allocations: 0 / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.9464, allocations: 60.03 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.9465, allocations: 15.98 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.9466, allocations: 121.8 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.9466, allocations: 7.953 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.9467, allocations: 8.375 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.9467, allocations: 11.98 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9467, allocations: 3.938 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.9467, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.9471, allocations: 358.4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.9471, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/0.9471, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9471, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.9471, allocations: 11.98 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9471, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.9471, allocations: 3.938 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.9474, allocations: 203.5 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.9474, allocations: 85.06 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.9474, allocations: 3.984 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.9475, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.9475, allocations: 7.938 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.9476, allocations: 15.98 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.028e-05/0.9476, allocations: 87.28 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9476, allocations: 4 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003051/0.9479, allocations: 39.92 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001936/0.9481, allocations: 103.8 kB / 1.28 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.9486, allocations: 230.6 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9486, allocations: 0 / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.9486, allocations: 27.92 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.949, allocations: 21.86 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.9495, allocations: 186.3 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.9499, allocations: 0.6848 MB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.95, allocations: 8.656 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.95, allocations: 11.44 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.95, allocations: 0 / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Templates: time 0.006327/0.9563, allocations: 1.958 MB / 1.284 GB, free: 10.31 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.05212786141783]