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.001032/0.001032, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001317/0.001317, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.478/2.478, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.291e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002535/0.002548, allocations: 2.002 MB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.004106, allocations: 1.258 MB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.004199, allocations: 7.938 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.004502, allocations: 99.5 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.004733, allocations: 135.3 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.004927, allocations: 131.4 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.005137, allocations: 231.4 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.005246, allocations: 34.42 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.005687, allocations: 184.2 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.005802, allocations: 87.77 kB / 0.8427 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.005826, allocations: 12 kB / 0.8427 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.005948, allocations: 51.92 kB / 0.8428 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.006014, allocations: 63.75 kB / 0.8428 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.006065, allocations: 55.83 kB / 0.8429 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.006301, allocations: 191.2 kB / 0.8431 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.006302, allocations: 4 kB / 0.8431 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006303, allocations: 0 / 0.8431 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.006306, allocations: 0 / 0.8431 GB, free: 9.594 MB / 0.8073 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.0004648/0.006771, allocations: 455.4 kB / 0.8435 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.006798, allocations: 8.625 kB / 0.8435 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.006839, allocations: 28.91 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.007045, allocations: 204.8 kB / 0.8437 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.007063, allocations: 12.12 kB / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.007076, allocations: 8 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.007217, allocations: 107 kB / 0.8438 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.007225, allocations: 0 / 0.8438 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.007234, allocations: 4 kB / 0.8438 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.007241, allocations: 4 kB / 0.8439 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.007287, allocations: 35.84 kB / 0.8439 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.007614, allocations: 241.8 kB / 0.8441 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.007737, allocations: 124.1 kB / 0.8442 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.007764, allocations: 28.78 kB / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.007774, allocations: 0 / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.007888, allocations: 94.11 kB / 0.8444 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.007889, allocations: 4 kB / 0.8444 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001611/0.00805, allocations: 111.8 kB / 0.8445 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.008081, allocations: 55.34 kB / 0.8445 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.008239, allocations: 251.8 kB / 0.8448 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.008258, allocations: 33.7 kB / 0.8448 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.008308, allocations: 116.9 kB / 0.8449 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.00834, allocations: 51.66 kB / 0.8449 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.008401, allocations: 53.67 kB / 0.845 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.0085, allocations: 342.7 kB / 0.8453 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.008538, allocations: 22.81 kB / 0.8453 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.008599, allocations: 73.11 kB / 0.8454 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.008714, allocations: 112.7 kB / 0.8455 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008717, allocations: 7.938 kB / 0.8455 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001674/0.008884, allocations: 146.3 kB / 0.8457 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.008895, allocations: 4 kB / 0.8457 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.0089, allocations: 4 kB / 0.8457 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008913, allocations: 0 / 0.8457 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.009032, allocations: 51.91 kB / 0.8457 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.009037, allocations: 4 kB / 0.8457 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.009093, allocations: 19.94 kB / 0.8458 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.009109, allocations: 8.156 kB / 0.8458 GB, free: 6.621 MB / 0.8073 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 7.294e-05/0.009182, allocations: 132.5 kB / 0.8459 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.009203, allocations: 23.97 kB / 0.8459 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.00932, allocations: 99.67 kB / 0.846 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.009322, allocations: 4 kB / 0.846 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.009324, allocations: 4 kB / 0.846 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.009328, allocations: 3.984 kB / 0.846 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.009596, allocations: 358.6 kB / 0.8464 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009598, allocations: 4 kB / 0.8464 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.009638, allocations: 16 kB / 0.8464 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00964, allocations: 0 / 0.8464 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.00965, allocations: 3.984 kB / 0.8464 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009651, allocations: 0 / 0.8464 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.009654, allocations: 7.938 kB / 0.8464 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.00979, allocations: 244.6 kB / 0.8466 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.009815, allocations: 19.86 kB / 0.8466 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.009838, allocations: 11.98 kB / 0.8467 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.542e-05/0.009893, allocations: 4 kB / 0.8467 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.009934, allocations: 19.97 kB / 0.8467 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.009946, allocations: 11.98 kB / 0.8467 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.379e-05/0.01001, allocations: 86.7 kB / 0.8468 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01001, allocations: 0 / 0.8468 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001744/0.01018, allocations: 51.88 kB / 0.8468 GB, free: 5.48 MB / 0.8073 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.001113/0.0113, allocations: 0.516 MB / 0.8473 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.01143, allocations: 92.73 kB / 0.8474 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01144, allocations: 0 / 0.8474 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.01149, allocations: 51.34 kB / 0.8475 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.01169, allocations: 57.42 kB / 0.8475 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.0122, allocations: 370.9 kB / 0.8479 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.642e-05/0.01225, allocations: 88.31 kB / 0.848 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.021e-05/0.01231, allocations: 34.23 kB / 0.848 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.659e-05/0.01241, allocations: 87.3 kB / 0.8481 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.01241, allocations: 0 / 0.8481 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of Templates: time 0.0052/0.01761, allocations: 3.539 MB / 0.8515 GB, free: 0.8984 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.385797071736306]