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.002056/0.002056, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002997/0.002997, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.781 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.632/3.632, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002162/0.002162, allocations: 67.92 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4922, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003991/0.4962, allocations: 1.914 MB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.4987, allocations: 1.204 MB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.4988, allocations: 7.938 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.4993, allocations: 95.56 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.4998, allocations: 135.4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.5001, allocations: 135.5 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.5005, allocations: 227.4 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.5007, allocations: 41.67 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.5009, allocations: 107.5 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.5011, allocations: 103.6 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.5011, allocations: 16 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.5013, allocations: 55.91 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.5014, allocations: 59.77 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.5015, allocations: 67.59 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.5019, allocations: 286.8 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5019, allocations: 0 / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5019, allocations: 0 / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.5019, allocations: 4 kB / 1.368 GB, free: 9.098 MB / 1.061 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.001087/0.503, allocations: 488.9 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.503, allocations: 8.031 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.5031, allocations: 24.8 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.5035, allocations: 244.9 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.5036, allocations: 7.984 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.5036, allocations: 12 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.5039, allocations: 118.2 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5039, allocations: 4 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.504, allocations: 11.92 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.504, allocations: 4 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.5043, allocations: 85.61 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.505, allocations: 372.1 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.5054, allocations: 122.6 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.5056, allocations: 60.81 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.5056, allocations: 0 / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.5059, allocations: 119.3 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.5059, allocations: 0 / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0007382/0.5066, allocations: 271.5 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.5067, allocations: 55.41 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.5071, allocations: 333.9 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.5071, allocations: 33.7 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.5073, allocations: 140.4 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.5073, allocations: 43.67 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5074, allocations: 61.69 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5076, allocations: 338.8 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.5078, allocations: 79.95 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.5081, allocations: 145.5 kB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.5085, allocations: 191 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5085, allocations: 0 / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005913/0.5091, allocations: 289.2 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5091, allocations: 7.938 kB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5091, allocations: 4 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.5092, allocations: 0 / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.5094, allocations: 43.91 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.5094, allocations: 4 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.5095, allocations: 16.14 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.5095, allocations: 12 kB / 1.372 GB, free: 5.219 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.0001735/0.5097, allocations: 166.8 kB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.5098, allocations: 31.75 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/0.5103, allocations: 211.6 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.5103, allocations: 8 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5103, allocations: 0 / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5103, allocations: 0 / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008542/0.5112, allocations: 498 kB / 1.373 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5112, allocations: 11.92 kB / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.5113, allocations: 15.98 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5113, allocations: 7.938 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5113, allocations: 3.984 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5113, allocations: 0 / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5113, allocations: 0 / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.5118, allocations: 313.4 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.5119, allocations: 31.78 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5119, allocations: 4 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.512, allocations: 11.98 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.5121, allocations: 19.97 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.5121, allocations: 8 kB / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002322/0.5124, allocations: 209.2 kB / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5124, allocations: 0 / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003393/0.5127, allocations: 63.81 kB / 1.373 GB, free: 3.57 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 (17): * Single equations (assignments): 12 * 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.001786/0.5145, allocations: 444.2 kB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.515, allocations: 179.8 kB / 1.374 GB, free: 3.137 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.515, allocations: 0 / 1.374 GB, free: 3.137 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.5152, allocations: 73.92 kB / 1.374 GB, free: 3.066 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.5156, allocations: 59.66 kB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/0.5165, allocations: 427.9 kB / 1.374 GB, free: 2.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.5166, allocations: 137.2 kB / 1.375 GB, free: 2.422 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.5167, allocations: 41.92 kB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.5168, allocations: 31.42 kB / 1.375 GB, free: 2.348 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.5168, allocations: 0 / 1.375 GB, free: 2.348 MB / 1.061 GB Notification: Performance of Templates: time 0.008118/0.5249, allocations: 3.413 MB / 1.378 GB, free: 14.97 MB / 1.076 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/jenkins/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: 10.175176652148366]