Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 63.28 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3507, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003822/0.3545, allocations: 1.969 MB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.357, allocations: 1.29 MB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.3571, allocations: 7.938 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.3575, allocations: 87.62 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.358, allocations: 147.4 kB / 1.358 GB, free: 4.402 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.3583, allocations: 127.6 kB / 1.358 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.3587, allocations: 223.4 kB / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.3589, allocations: 49.64 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.3591, allocations: 115.5 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3592, allocations: 107.5 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.3593, allocations: 12 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3594, allocations: 51.98 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.3595, allocations: 71.75 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3596, allocations: 91.41 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.36, allocations: 266.9 kB / 1.359 GB, free: 3.305 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.36, allocations: 0 / 1.359 GB, free: 3.305 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.36, allocations: 3.938 kB / 1.359 GB, free: 3.301 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.36, allocations: 0 / 1.359 GB, free: 3.301 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001039/0.3611, allocations: 0.493 MB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3611, allocations: 8.031 kB / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.763e-05/0.3612, allocations: 32.75 kB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3616, allocations: 229.2 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3616, allocations: 8 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3617, allocations: 12 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.362, allocations: 117.5 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.362, allocations: 0 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.362, allocations: 7.922 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.362, allocations: 4 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.3624, allocations: 89.42 kB / 1.36 GB, free: 2.25 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.3631, allocations: 431.4 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3635, allocations: 122.6 kB / 1.36 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3636, allocations: 48.83 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.3637, allocations: 0 / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.364, allocations: 127.4 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.364, allocations: 0 / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0006621/0.3646, allocations: 258.8 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.3647, allocations: 51.41 kB / 1.361 GB, free: 1.148 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.3651, allocations: 341.8 kB / 1.361 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.3651, allocations: 33.7 kB / 1.361 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3653, allocations: 136.5 kB / 1.361 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.3653, allocations: 43.72 kB / 1.361 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3654, allocations: 65.64 kB / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.3657, allocations: 334.8 kB / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.3659, allocations: 87.89 kB / 1.362 GB, free: 100 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.3662, allocations: 129.1 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.3666, allocations: 190.1 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3666, allocations: 0 / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005612/0.3671, allocations: 278.8 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3671, allocations: 8 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3672, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3672, allocations: 7.938 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.3674, allocations: 43.91 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3674, allocations: 4 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3675, allocations: 36.02 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.3676, allocations: 8 kB / 1.362 GB, free: 15.37 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001859/0.3678, allocations: 166.1 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.3678, allocations: 23.8 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/0.3683, allocations: 211.5 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3683, allocations: 12 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3683, allocations: 0 / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3683, allocations: 0 / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009093/0.3692, allocations: 0.5228 MB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3692, allocations: 0 / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-05/0.3693, allocations: 15.98 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3693, allocations: 0 / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3694, allocations: 11.98 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3694, allocations: 0 / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3694, allocations: 0 / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.3698, allocations: 295.2 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.3699, allocations: 23.8 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.3699, allocations: 11.98 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3701, allocations: 15.98 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.3701, allocations: 19.95 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3702, allocations: 8 kB / 1.364 GB, free: 13.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002384/0.3704, allocations: 217.1 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3704, allocations: 0 / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000328/0.3707, allocations: 51.89 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001611/0.3723, allocations: 425.7 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.3729, allocations: 179.7 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3729, allocations: 0 / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.3731, allocations: 69.58 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.3735, allocations: 54.41 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.3744, allocations: 449.9 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.3748, allocations: 0.7519 MB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.3749, allocations: 23.42 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3749, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of Templates: time 0.006502/0.3814, allocations: 3.366 MB / 1.369 GB, free: 8.504 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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: 12.126464416011004]