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.001019/0.001019, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001055/0.001055, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.01/1.01, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.026/2.026, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.053e-05, allocations: 9.828 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003078/0.003099, allocations: 2.009 MB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.004954, allocations: 1.269 MB / 0.7633 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.005105, allocations: 5.469 kB / 0.7633 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.005504, allocations: 93.48 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.005891, allocations: 142.8 kB / 0.7635 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.00622, allocations: 128.7 kB / 0.7636 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.006513, allocations: 231.3 kB / 0.7639 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.006661, allocations: 34.44 kB / 0.7639 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.007292, allocations: 166.1 kB / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.007456, allocations: 87.75 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.007485, allocations: 12.53 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.007627, allocations: 53.08 kB / 0.7642 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.007707, allocations: 63.75 kB / 0.7643 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.007767, allocations: 55.78 kB / 0.7643 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.008116, allocations: 196 kB / 0.7645 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.00812, allocations: 4 kB / 0.7645 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.382e-06/0.008122, allocations: 1.219 kB / 0.7645 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.008127, allocations: 0 / 0.7645 GB, free: 2.078 MB / 0.7136 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.0005745/0.008701, allocations: 451.4 kB / 0.7649 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.008735, allocations: 12.59 kB / 0.7649 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.008781, allocations: 17.67 kB / 0.765 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.009017, allocations: 196.9 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.009038, allocations: 20.8 kB / 0.7652 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.009052, allocations: 12 kB / 0.7652 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.009218, allocations: 104.9 kB / 0.7653 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.009227, allocations: 3.984 kB / 0.7653 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.009238, allocations: 3.984 kB / 0.7653 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.009245, allocations: 4 kB / 0.7653 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.084e-05/0.009296, allocations: 29.27 kB / 0.7653 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.009707, allocations: 257.8 kB / 0.7656 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.009918, allocations: 120.8 kB / 0.7657 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.009953, allocations: 26.16 kB / 0.7657 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.009968, allocations: 0 / 0.7657 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.01011, allocations: 105.3 kB / 0.7658 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.01011, allocations: 0 / 0.7658 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001884/0.0103, allocations: 108 kB / 0.7659 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.01034, allocations: 51.41 kB / 0.766 GB, free: 488 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.01052, allocations: 259.7 kB / 0.7662 GB, free: 220 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01055, allocations: 33.7 kB / 0.7662 GB, free: 180 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.0106, allocations: 120.9 kB / 0.7663 GB, free: 56 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.01064, allocations: 47.66 kB / 0.7664 GB, free: 8 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.01072, allocations: 56.7 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.01082, allocations: 342.7 kB / 0.7668 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.01086, allocations: 26.81 kB / 0.7668 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.01092, allocations: 69.11 kB / 0.7669 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.01104, allocations: 117.8 kB / 0.767 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01104, allocations: 0 / 0.767 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001747/0.01122, allocations: 144.1 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01124, allocations: 8 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.01124, allocations: 1.281 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01126, allocations: 4 kB / 0.7671 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.01141, allocations: 43.91 kB / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01141, allocations: 4.688 kB / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.01149, allocations: 23.88 kB / 0.7672 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.01151, allocations: 8.594 kB / 0.7672 GB, free: 15.12 MB / 0.7292 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 9.976e-05/0.01161, allocations: 137 kB / 0.7673 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.01163, allocations: 21.31 kB / 0.7674 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.01179, allocations: 107.7 kB / 0.7675 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01179, allocations: 2.438 kB / 0.7675 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01179, allocations: 0 / 0.7675 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.0118, allocations: 0 / 0.7675 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.01217, allocations: 364.6 kB / 0.7678 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01217, allocations: 0 / 0.7678 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.01223, allocations: 12 kB / 0.7678 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.01223, allocations: 2.906 kB / 0.7678 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01224, allocations: 7.984 kB / 0.7678 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01225, allocations: 4 kB / 0.7678 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01225, allocations: 3.938 kB / 0.7678 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.01241, allocations: 238.6 kB / 0.7681 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.01244, allocations: 31.78 kB / 0.7681 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.01247, allocations: 7.984 kB / 0.7681 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.01254, allocations: 9.406 kB / 0.7681 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.0126, allocations: 19.97 kB / 0.7681 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01261, allocations: 7.984 kB / 0.7681 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.86e-05/0.01269, allocations: 86.7 kB / 0.7682 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01269, allocations: 1.656 kB / 0.7682 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002348/0.01292, allocations: 51.92 kB / 0.7683 GB, free: 13.98 MB / 0.7292 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.001245/0.01417, allocations: 0.5019 MB / 0.7688 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.01435, allocations: 101.3 kB / 0.7689 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.01436, allocations: 4.531 kB / 0.7689 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.01442, allocations: 48.05 kB / 0.7689 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01467, allocations: 65.83 kB / 0.769 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.01517, allocations: 363.8 kB / 0.7693 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.447e-05/0.01522, allocations: 88.31 kB / 0.7694 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.052e-05/0.01529, allocations: 27.78 kB / 0.7694 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.01541, allocations: 91.34 kB / 0.7695 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of SimCode: time 1.512e-06/0.01541, allocations: 0.5625 kB / 0.7695 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.006163/0.02157, allocations: 3.479 MB / 0.7729 GB, free: 9.602 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] 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","",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.328044316265732]