Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007647/0.0007647, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007602/0.0007602, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8917/0.8917, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.964e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00236/0.00239, allocations: 1.91 MB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.003823, allocations: 1.204 MB / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.003914, allocations: 4 kB / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.004251, allocations: 103.5 kB / 0.9549 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.004543, allocations: 143.2 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.004737, allocations: 135.4 kB / 0.9552 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.004948, allocations: 227.4 kB / 0.9554 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.005082, allocations: 29.78 kB / 0.9554 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.005221, allocations: 135.6 kB / 0.9555 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.005328, allocations: 87.77 kB / 0.9556 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.005349, allocations: 12 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.00544, allocations: 67.91 kB / 0.9557 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.005508, allocations: 63.75 kB / 0.9558 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.00556, allocations: 51.83 kB / 0.9558 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.005829, allocations: 283 kB / 0.9561 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005831, allocations: 0 / 0.9561 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.103e-06/0.005832, allocations: 3.938 kB / 0.9561 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.005837, allocations: 0 / 0.9561 GB, free: 14.54 MB / 0.9167 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.0006225/0.006459, allocations: 492.9 kB / 0.9565 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.006492, allocations: 8.031 kB / 0.9566 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.006545, allocations: 36.67 kB / 0.9566 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.006804, allocations: 225 kB / 0.9568 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.006822, allocations: 11.94 kB / 0.9568 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.006838, allocations: 12 kB / 0.9568 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.007036, allocations: 115.5 kB / 0.9569 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.007044, allocations: 0 / 0.9569 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.007056, allocations: 4 kB / 0.9569 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.007061, allocations: 7.938 kB / 0.9569 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.007213, allocations: 91.86 kB / 0.957 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.007666, allocations: 376.2 kB / 0.9574 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.00787, allocations: 122.6 kB / 0.9575 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.007953, allocations: 52.83 kB / 0.9576 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.00797, allocations: 0 / 0.9576 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.008144, allocations: 131.2 kB / 0.9577 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.008146, allocations: 0 / 0.9577 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.000392/0.008538, allocations: 256.3 kB / 0.9579 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.008575, allocations: 51.41 kB / 0.958 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.008813, allocations: 349.7 kB / 0.9583 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.008833, allocations: 33.7 kB / 0.9583 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.008913, allocations: 140.5 kB / 0.9585 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.008944, allocations: 39.69 kB / 0.9585 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.009007, allocations: 61.69 kB / 0.9586 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.009101, allocations: 338.8 kB / 0.9589 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.009223, allocations: 87.94 kB / 0.959 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.009359, allocations: 137 kB / 0.9591 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.00958, allocations: 187.7 kB / 0.9593 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009582, allocations: 0 / 0.9593 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003219/0.009904, allocations: 281.3 kB / 0.9596 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.009918, allocations: 8.141 kB / 0.9596 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.009925, allocations: 8 kB / 0.9596 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.009938, allocations: 7.875 kB / 0.9596 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01005, allocations: 43.91 kB / 0.9596 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.01006, allocations: 4 kB / 0.9596 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.01013, allocations: 23.88 kB / 0.9597 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01015, allocations: 12 kB / 0.9597 GB, free: 10.65 MB / 0.9167 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.0001092/0.01026, allocations: 161.5 kB / 0.9598 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.01028, allocations: 27.81 kB / 0.9598 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.01057, allocations: 213.7 kB / 0.96 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.01057, allocations: 7.938 kB / 0.9601 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01058, allocations: 0 / 0.9601 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01058, allocations: 3.984 kB / 0.9601 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.01104, allocations: 498 kB / 0.9605 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01105, allocations: 3.938 kB / 0.9605 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.01109, allocations: 27.92 kB / 0.9606 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.0111, allocations: 4 kB / 0.9606 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01111, allocations: 3.984 kB / 0.9606 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01111, allocations: 0 / 0.9606 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01111, allocations: 0 / 0.9606 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.01136, allocations: 306.2 kB / 0.9609 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.01139, allocations: 27.73 kB / 0.9609 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.01141, allocations: 11.98 kB / 0.9609 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.01148, allocations: 15.98 kB / 0.9609 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.01153, allocations: 15.97 kB / 0.9609 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.01154, allocations: 12 kB / 0.9609 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001297/0.01167, allocations: 209.2 kB / 0.9611 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01167, allocations: 0 / 0.9611 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002126/0.01188, allocations: 59.83 kB / 0.9612 GB, free: 9.012 MB / 0.9167 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.0007422/0.01262, allocations: 447.8 kB / 0.9616 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.01291, allocations: 183.8 kB / 0.9618 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01291, allocations: 0 / 0.9618 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.013, allocations: 63.95 kB / 0.9619 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01326, allocations: 61.45 kB / 0.9619 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.01378, allocations: 452.5 kB / 0.9624 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.278e-05/0.01387, allocations: 141.2 kB / 0.9625 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.01393, allocations: 32.48 kB / 0.9625 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.01393, allocations: 0 / 0.9625 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of Templates: time 0.003619/0.01755, allocations: 3.474 MB / 0.9659 GB, free: 4.328 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.7455559922382236]