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.001859/0.001859, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002332/0.002332, allocations: 223.8 kB / 23.01 MB, free: 4.609 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.119/3.119, allocations: 0.49 GB / 0.7958 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] 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.002014/0.002014, allocations: 72.53 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003594/0.353, allocations: 1.97 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3552, allocations: 1.298 MB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3553, allocations: 7.938 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.3558, allocations: 99.56 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.3561, allocations: 131.4 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.3564, allocations: 139.5 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.3567, allocations: 215.5 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3569, allocations: 49.64 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.3571, allocations: 115.5 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3573, allocations: 107.6 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.3573, allocations: 12 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3574, allocations: 63.91 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.3575, allocations: 59.81 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3576, allocations: 91.42 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.358, allocations: 274.8 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.358, allocations: 0 / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.358, allocations: 0 / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.358, allocations: 0 / 1.332 GB, free: 12.83 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.0009211/0.3589, allocations: 0.4891 MB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.359, allocations: 8.031 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.359, allocations: 28.75 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.3594, allocations: 237 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3594, allocations: 8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.3595, allocations: 12 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.3598, allocations: 115.3 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3598, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3598, allocations: 11.92 kB / 1.333 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.3598, allocations: 4 kB / 1.333 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.3601, allocations: 79.92 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.3608, allocations: 423.5 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.3612, allocations: 126.6 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3613, allocations: 48.83 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3613, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.3616, allocations: 139.3 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3616, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0006581/0.3623, allocations: 251.6 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3623, allocations: 55.41 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.3627, allocations: 341.8 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3628, allocations: 33.7 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3629, allocations: 132.5 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.3629, allocations: 47.67 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.363, allocations: 61.64 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002371/0.3633, allocations: 338.8 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3635, allocations: 83.89 kB / 1.335 GB, free: 9.633 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3637, allocations: 133.1 kB / 1.335 GB, free: 9.484 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.3641, allocations: 186.8 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3641, allocations: 0 / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005582/0.3647, allocations: 283.3 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3647, allocations: 13.86 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3647, allocations: 4.156 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3647, allocations: 4 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.3649, allocations: 35.98 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3649, allocations: 11.92 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.3651, allocations: 27.88 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3651, allocations: 8 kB / 1.335 GB, free: 8.902 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.0001638/0.3653, allocations: 158 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.3653, allocations: 31.8 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.3658, allocations: 207.6 kB / 1.336 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3658, allocations: 3.984 kB / 1.336 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3658, allocations: 4 kB / 1.336 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3658, allocations: 0 / 1.336 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008517/0.3667, allocations: 0.5281 MB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3667, allocations: 3.984 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.3667, allocations: 11.98 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3667, allocations: 0 / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3668, allocations: 8 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3668, allocations: 0 / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3668, allocations: 0 / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.3673, allocations: 299.2 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.3673, allocations: 31.78 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.3674, allocations: 8 kB / 1.337 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3675, allocations: 11.98 kB / 1.337 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.3676, allocations: 15.97 kB / 1.337 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3676, allocations: 4 kB / 1.337 GB, free: 7.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000252/0.3678, allocations: 221.1 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3678, allocations: 7.875 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003231/0.3682, allocations: 51.94 kB / 1.337 GB, free: 7.234 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.001603/0.3698, allocations: 418.3 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.3703, allocations: 171.8 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3703, allocations: 320 / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.3705, allocations: 70 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.3709, allocations: 55.38 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.3717, allocations: 449.6 kB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.3722, allocations: 0.7558 MB / 1.339 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.3722, allocations: 27.44 kB / 1.339 GB, free: 5.418 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3722, allocations: 0 / 1.339 GB, free: 5.418 MB / 1.029 GB Notification: Performance of Templates: time 0.006183/0.3784, allocations: 3.359 MB / 1.342 GB, free: 2.066 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/jenkins1/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: 11.646428985986859]