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.001326/0.001326, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001437/0.001437, allocations: 217.5 kB / 22.99 MB, free: 4.965 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 476 MB / 0.7707 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002281/0.002281, allocations: 68.45 kB / 1.118 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3427, allocations: 169.9 MB / 1.284 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003842/0.3465, allocations: 1.907 MB / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3489, allocations: 1.208 MB / 1.287 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.349, allocations: 7.938 kB / 1.287 GB, free: 484 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.3494, allocations: 95.61 kB / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.3498, allocations: 143.4 kB / 1.287 GB, free: 244 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.3502, allocations: 127.6 kB / 1.287 GB, free: 116 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.3505, allocations: 227.5 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.3507, allocations: 37.73 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3509, allocations: 111.4 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3511, allocations: 99.58 kB / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.3511, allocations: 12 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3512, allocations: 63.97 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3513, allocations: 67.7 kB / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.3514, allocations: 71.52 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.3519, allocations: 274.9 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3519, allocations: 3.984 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3519, allocations: 0 / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.3519, allocations: 4 kB / 1.288 GB, free: 15.16 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.001075/0.353, allocations: 484.9 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.353, allocations: 12.03 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.3531, allocations: 32.75 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.3535, allocations: 233 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3535, allocations: 8 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.3536, allocations: 12 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.3539, allocations: 113.6 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3539, allocations: 4 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.3539, allocations: 7.938 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3539, allocations: 7.938 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.3542, allocations: 91.92 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.3549, allocations: 368.2 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3553, allocations: 126.6 kB / 1.29 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.3555, allocations: 56.81 kB / 1.29 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3555, allocations: 0 / 1.29 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.3558, allocations: 131.3 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3558, allocations: 0 / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0007047/0.3565, allocations: 253.5 kB / 1.29 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3566, allocations: 59.34 kB / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.357, allocations: 337.8 kB / 1.29 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.357, allocations: 29.7 kB / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3571, allocations: 148.4 kB / 1.291 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.3572, allocations: 43.69 kB / 1.291 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/0.3573, allocations: 57.69 kB / 1.291 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3574, allocations: 338.8 kB / 1.291 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.3576, allocations: 79.95 kB / 1.291 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3579, allocations: 138.3 kB / 1.291 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.3583, allocations: 192 kB / 1.291 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3583, allocations: 0 / 1.291 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005985/0.3589, allocations: 285.2 kB / 1.292 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3589, allocations: 16.03 kB / 1.292 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3589, allocations: 4 kB / 1.292 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.359, allocations: 0 / 1.292 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.3592, allocations: 43.91 kB / 1.292 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.3592, allocations: 0 / 1.292 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3594, allocations: 31.81 kB / 1.292 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3594, allocations: 15.98 kB / 1.292 GB, free: 11.27 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.000169/0.3596, allocations: 157.5 kB / 1.292 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.3596, allocations: 31.8 kB / 1.292 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005386/0.3601, allocations: 217.6 kB / 1.292 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3601, allocations: 4 kB / 1.292 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3601, allocations: 0 / 1.292 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3602, allocations: 0 / 1.292 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.361, allocations: 0.4903 MB / 1.293 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.361, allocations: 4 kB / 1.293 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-05/0.3611, allocations: 15.98 kB / 1.293 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3611, allocations: 0 / 1.293 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3611, allocations: 4 kB / 1.293 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3611, allocations: 0 / 1.293 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3611, allocations: 4 kB / 1.293 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.3617, allocations: 317.8 kB / 1.293 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.3617, allocations: 23.8 kB / 1.293 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.3618, allocations: 8 kB / 1.293 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3619, allocations: 19.98 kB / 1.293 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.362, allocations: 19.88 kB / 1.293 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.362, allocations: 7.984 kB / 1.293 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002598/0.3623, allocations: 213.2 kB / 1.293 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3623, allocations: 0 / 1.293 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003528/0.3626, allocations: 47.92 kB / 1.293 GB, free: 9.645 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 (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.001721/0.3643, allocations: 455.1 kB / 1.294 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000555/0.3649, allocations: 183.8 kB / 1.294 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3649, allocations: 0 / 1.294 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3651, allocations: 71.89 kB / 1.294 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.3655, allocations: 60.77 kB / 1.294 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000821/0.3664, allocations: 450 kB / 1.294 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.3665, allocations: 145.2 kB / 1.295 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.3666, allocations: 23.44 kB / 1.295 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3666, allocations: 0 / 1.295 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of Templates: time 0.006229/0.3728, allocations: 3.45 MB / 1.298 GB, free: 4.977 MB / 0.9981 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/jenkins1/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: 11.520281047094613]