Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001726/0.001726, allocations: 111 kB / 16.46 MB, free: 6.453 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.001706/0.001706, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.38/3.38, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002081/0.002081, allocations: 66.53 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4519, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004315/0.4562, allocations: 1.947 MB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.4589, allocations: 1.286 MB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.459, allocations: 4 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.4595, allocations: 95.56 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.4599, allocations: 143.4 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.4603, allocations: 127.6 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.4607, allocations: 227.3 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.4609, allocations: 37.61 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.4611, allocations: 103.6 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.4613, allocations: 115.5 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.4613, allocations: 12 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.4615, allocations: 59.97 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.4616, allocations: 55.83 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.4617, allocations: 99.33 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.4621, allocations: 274.9 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4621, allocations: 4 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4621, allocations: 0 / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.4621, allocations: 0 / 1.326 GB, free: 14.24 MB / 1.029 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.001034/0.4631, allocations: 0.5586 MB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4632, allocations: 19.92 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.4633, allocations: 24.75 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.4637, allocations: 295.4 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.4637, allocations: 12 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.4637, allocations: 12 kB / 1.327 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.4641, allocations: 113.5 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4641, allocations: 0 / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.4641, allocations: 15.91 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4641, allocations: 4 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.4644, allocations: 87.92 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.4652, allocations: 452.4 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.4655, allocations: 122.6 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.4657, allocations: 52.83 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.4657, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.466, allocations: 123.5 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.466, allocations: 0 / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000712/0.4667, allocations: 252.4 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.4668, allocations: 59.39 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.4672, allocations: 334.6 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.4673, allocations: 33.7 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4674, allocations: 152.3 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.4674, allocations: 39.69 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.4675, allocations: 57.66 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4677, allocations: 342.8 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.4679, allocations: 87.94 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.4682, allocations: 129 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.4686, allocations: 191.2 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4686, allocations: 0 / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005709/0.4692, allocations: 284.3 kB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4692, allocations: 4 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4692, allocations: 0 / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4692, allocations: 4 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.4694, allocations: 47.91 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4694, allocations: 0 / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.4696, allocations: 23.94 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.4696, allocations: 16.14 kB / 1.33 GB, free: 10.09 MB / 1.029 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.0001765/0.4698, allocations: 161.7 kB / 1.33 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.4698, allocations: 27.8 kB / 1.33 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.4699, allocations: 26.17 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4699, allocations: 0 / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4699, allocations: 0 / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4699, allocations: 0 / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.4708, allocations: 0.5529 MB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4708, allocations: 0 / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.4708, allocations: 11.98 kB / 1.33 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.4708, allocations: 7.984 kB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.4709, allocations: 8 kB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4709, allocations: 0 / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4709, allocations: 3.938 kB / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.4714, allocations: 299.2 kB / 1.331 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.4715, allocations: 105 kB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.4715, allocations: 7.938 kB / 1.331 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.4716, allocations: 15.98 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.4717, allocations: 19.97 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4717, allocations: 7.984 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002256/0.472, allocations: 217.9 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.472, allocations: 0 / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003117/0.4723, allocations: 51.92 kB / 1.331 GB, free: 8.488 MB / 1.029 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.001664/0.4739, allocations: 431.3 kB / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.4745, allocations: 176 kB / 1.332 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4745, allocations: 0 / 1.332 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.4746, allocations: 59.91 kB / 1.332 GB, free: 7.992 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.4751, allocations: 51.05 kB / 1.332 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/0.4759, allocations: 425.2 kB / 1.332 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.4763, allocations: 0.7597 MB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.4764, allocations: 33.92 kB / 1.333 GB, free: 6.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.4765, allocations: 23.44 kB / 1.333 GB, free: 6.66 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4765, allocations: 4 kB / 1.333 GB, free: 6.656 MB / 1.029 GB Notification: Performance of Templates: time 0.007616/0.4841, allocations: 3.113 MB / 1.336 GB, free: 3.562 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.585212114267051]