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.001015/0.001015, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001119/0.001119, allocations: 161 kB / 23.82 MB, free: 0.75 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.9739/0.9739, allocations: 177.2 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.916/1.916, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.015e-06/3.015e-06, allocations: 4 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.98e-05, allocations: 5.766 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00597/0.00599, allocations: 1.975 MB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004843/0.01083, allocations: 1.244 MB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.01094, allocations: 5.188 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.0113, allocations: 99.48 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.01166, allocations: 140.8 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.01192, allocations: 139.5 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.01219, allocations: 228.1 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.01232, allocations: 25.8 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.01286, allocations: 173.1 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.01299, allocations: 97.41 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.01302, allocations: 12 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.01313, allocations: 55.86 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.0132, allocations: 63.75 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.01326, allocations: 52.48 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.01658, allocations: 203.2 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.01659, allocations: 1.062 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01659, allocations: 0 / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.01659, allocations: 0 / 0.8159 GB, free: 13.23 MB / 0.7761 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.0006743/0.01727, allocations: 0.5629 MB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.0173, allocations: 12.03 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.01739, allocations: 36.78 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.01765, allocations: 225 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.01768, allocations: 12.12 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.0177, allocations: 15.94 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.01791, allocations: 106 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.01792, allocations: 0 / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.01794, allocations: 7.938 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.01795, allocations: 0 / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.01804, allocations: 49.83 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.01861, allocations: 419.5 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.01879, allocations: 87.86 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.01884, allocations: 34.06 kB / 0.8174 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.01886, allocations: 4 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.01901, allocations: 108.9 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.01901, allocations: 0 / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.003347/0.02235, allocations: 172.1 kB / 0.8177 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.0224, allocations: 57.28 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.02268, allocations: 328.2 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.02271, allocations: 33.7 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.02281, allocations: 191.2 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.02286, allocations: 43.69 kB / 0.8183 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.02294, allocations: 59.86 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.0231, allocations: 0.5157 MB / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.02317, allocations: 28.52 kB / 0.8189 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.02329, allocations: 111.9 kB / 0.819 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.02347, allocations: 130.4 kB / 0.8192 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.02347, allocations: 0 / 0.8192 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002946/0.02376, allocations: 199.7 kB / 0.8194 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.02378, allocations: 9.109 kB / 0.8194 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.02379, allocations: 0 / 0.8194 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.02381, allocations: 7.938 kB / 0.8194 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.02398, allocations: 40.64 kB / 0.8194 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.02398, allocations: 4 kB / 0.8194 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.02407, allocations: 20.56 kB / 0.8194 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.0241, allocations: 12.84 kB / 0.8194 GB, free: 9.41 MB / 0.7761 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.0001286/0.02423, allocations: 187.9 kB / 0.8196 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.02426, allocations: 23.86 kB / 0.8196 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.02453, allocations: 166.1 kB / 0.8198 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.02453, allocations: 7.938 kB / 0.8198 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.02454, allocations: 0 / 0.8198 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02454, allocations: 0 / 0.8198 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.02506, allocations: 493.4 kB / 0.8203 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02506, allocations: 0 / 0.8203 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.02512, allocations: 19.92 kB / 0.8203 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.02512, allocations: 5.969 kB / 0.8203 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.02513, allocations: 0 / 0.8203 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.02514, allocations: 0 / 0.8203 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02514, allocations: 0 / 0.8203 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.02542, allocations: 317.6 kB / 0.8206 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.02545, allocations: 32.62 kB / 0.8206 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.02548, allocations: 4 kB / 0.8206 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.02557, allocations: 17.11 kB / 0.8207 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.02563, allocations: 15.97 kB / 0.8207 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.02565, allocations: 4 kB / 0.8207 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000146/0.02579, allocations: 214.2 kB / 0.8209 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02579, allocations: 0 / 0.8209 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000304/0.0261, allocations: 47.94 kB / 0.8209 GB, free: 7.828 MB / 0.7761 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.001064/0.02716, allocations: 414.2 kB / 0.8213 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.0274, allocations: 115.8 kB / 0.8214 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.0274, allocations: 8.125 kB / 0.8214 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.02748, allocations: 47.61 kB / 0.8215 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.02784, allocations: 61.77 kB / 0.8215 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.03141, allocations: 366.8 kB / 0.8219 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.03148, allocations: 88.31 kB / 0.822 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.58e-05/0.03155, allocations: 29.94 kB / 0.822 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.03162, allocations: 28.5 kB / 0.822 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.03162, allocations: 0 / 0.822 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of Templates: time 0.00979/0.04141, allocations: 3.508 MB / 0.8255 GB, free: 3.336 MB / 0.7761 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 -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.215858802665025]