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.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.001651/0.001651, allocations: 106.5 kB / 17.08 MB, free: 5.824 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.00179/0.00179, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.5/1.5, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.204/3.204, allocations: 489.3 MB / 0.7687 GB, free: 3.734 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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: Performance of FrontEnd - loaded program: time 0.001943/0.001944, allocations: 71.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9606/0.9625, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003196/0.9658, allocations: 1.929 MB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.9675, allocations: 1.12 MB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.9677, allocations: 2.156 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.968, allocations: 98.5 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.9683, allocations: 89.59 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.9687, allocations: 166.8 kB / 1.266 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.969, allocations: 216.6 kB / 1.266 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.9692, allocations: 44.77 kB / 1.266 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.9695, allocations: 95.77 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.9697, allocations: 106.7 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.9697, allocations: 13.06 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.9699, allocations: 62.47 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.9701, allocations: 53.89 kB / 1.266 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.9702, allocations: 93.03 kB / 1.267 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.9708, allocations: 275.3 kB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.9708, allocations: 0.75 kB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9708, allocations: 0 / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.9708, allocations: 0 / 1.267 GB, free: 5.309 MB / 0.9981 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.001113/0.9719, allocations: 0.5435 MB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.972, allocations: 9.484 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.9721, allocations: 33.12 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.9725, allocations: 290.3 kB / 1.268 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.9725, allocations: 10.14 kB / 1.268 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.9725, allocations: 7.391 kB / 1.268 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.9729, allocations: 122 kB / 1.268 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.9729, allocations: 1.672 kB / 1.268 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.9729, allocations: 12.81 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.973, allocations: 3.172 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.9733, allocations: 81.09 kB / 1.268 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.974, allocations: 455.5 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.9744, allocations: 133.7 kB / 1.268 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.9746, allocations: 53.41 kB / 1.269 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.9746, allocations: 7.141 kB / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.975, allocations: 129.7 kB / 1.269 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.975, allocations: 0 / 1.269 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0007235/0.9757, allocations: 247.8 kB / 1.269 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.9757, allocations: 59.11 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.9761, allocations: 326.6 kB / 1.269 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.9762, allocations: 32.75 kB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.9763, allocations: 134.5 kB / 1.269 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.9763, allocations: 47.11 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-05/0.9764, allocations: 54.25 kB / 1.27 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.9765, allocations: 337.6 kB / 1.27 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.9767, allocations: 83.41 kB / 1.27 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.9769, allocations: 133.3 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.9773, allocations: 195 kB / 1.27 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.9774, allocations: 0.9062 kB / 1.27 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006046/0.978, allocations: 281 kB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.978, allocations: 5.656 kB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.978, allocations: 1.969 kB / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.978, allocations: 7.359 kB / 1.271 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.9783, allocations: 45.33 kB / 1.271 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.9783, allocations: 3.609 kB / 1.271 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.9784, allocations: 23.22 kB / 1.271 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.9785, allocations: 16.88 kB / 1.271 GB, free: 2.723 MB / 0.9981 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.0001312/0.9786, allocations: 158.8 kB / 1.271 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.9787, allocations: 29.44 kB / 1.271 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.9787, allocations: 29.36 kB / 1.271 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.9787, allocations: 2.453 kB / 1.271 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9788, allocations: 0.8125 kB / 1.271 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.9788, allocations: 0.6094 kB / 1.271 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.9795, allocations: 0.5513 MB / 1.271 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9796, allocations: 0 / 1.271 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.9797, allocations: 14.25 kB / 1.271 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.9797, allocations: 5 kB / 1.271 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.9797, allocations: 7.422 kB / 1.271 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9797, allocations: 0.875 kB / 1.271 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9797, allocations: 0 / 1.271 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.9802, allocations: 297.2 kB / 1.272 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.9802, allocations: 107.5 kB / 1.272 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.9803, allocations: 2.594 kB / 1.272 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.9804, allocations: 21.33 kB / 1.272 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.9805, allocations: 15.08 kB / 1.272 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.9806, allocations: 6.125 kB / 1.272 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002353/0.9808, allocations: 214.2 kB / 1.272 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9808, allocations: 0 / 1.272 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003598/0.9812, allocations: 46.64 kB / 1.272 GB, free: 1.703 MB / 0.9981 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.001565/0.9827, allocations: 425.9 kB / 1.272 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005381/0.9833, allocations: 185.7 kB / 1.273 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9833, allocations: 0.5938 kB / 1.273 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.9835, allocations: 71.94 kB / 1.273 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.984, allocations: 55.83 kB / 1.273 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007314/0.9847, allocations: 442.5 kB / 1.273 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.9849, allocations: 0.7508 MB / 1.274 GB, free: 444 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.985, allocations: 23.27 kB / 1.274 GB, free: 436 kB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.985, allocations: 4.594 kB / 1.274 GB, free: 432 kB / 0.9981 GB Notification: Performance of Templates: time 0.006546/0.9916, allocations: 3.278 MB / 1.277 GB, free: 40 kB / 0.9981 GB " [Timeout remaining time 299] 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_2/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.347095069941133]