Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.0009273/0.0009273, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001171/0.001171, allocations: 181 kB / 24.09 MB, free: 420 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 0.9409/0.9409, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.855/1.855, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.927e-05, allocations: 2.312 kB / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002611/0.00264, allocations: 1.815 MB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003707, allocations: 0.6969 MB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.003818, allocations: 8.969 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.003943, allocations: 27.73 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.004003, allocations: 28.58 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.004659, allocations: 260.7 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.005021, allocations: 407.4 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.005278, allocations: 216.9 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.005448, allocations: 211.6 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.005588, allocations: 105.4 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.00563, allocations: 40 kB / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.044e-05/0.005721, allocations: 51.98 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.005779, allocations: 75.8 kB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.005859, allocations: 100.7 kB / 0.8159 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.006164, allocations: 275.1 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006167, allocations: 3.984 kB / 0.8162 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006168, allocations: 0.5312 kB / 0.8162 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.006173, allocations: 0.625 kB / 0.8162 GB, free: 13.21 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006817/0.006854, allocations: 0.5835 MB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.006891, allocations: 9.312 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.007105, allocations: 56.78 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.007324, allocations: 208.2 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.007353, allocations: 29.41 kB / 0.817 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.007384, allocations: 33.75 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.007616, allocations: 209.6 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.007626, allocations: 192 / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.00764, allocations: 4.375 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.007647, allocations: 9.531 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.007765, allocations: 87.3 kB / 0.8173 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.008563, allocations: 0.757 MB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.008718, allocations: 115.3 kB / 0.8182 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.008765, allocations: 56.48 kB / 0.8182 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.008785, allocations: 4 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.008918, allocations: 119.6 kB / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.854e-06/0.00892, allocations: 0 / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.000279/0.009199, allocations: 199 kB / 0.8186 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.009232, allocations: 55.41 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.009346, allocations: 217.7 kB / 0.8188 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.009379, allocations: 46.55 kB / 0.8189 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.009467, allocations: 191.5 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.009511, allocations: 68.64 kB / 0.8191 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.009611, allocations: 99.27 kB / 0.8192 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.009754, allocations: 0.5039 MB / 0.8197 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.009841, allocations: 86.98 kB / 0.8198 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.009971, allocations: 168.1 kB / 0.8199 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.01014, allocations: 210.6 kB / 0.8201 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01015, allocations: 0 / 0.8201 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002865/0.01043, allocations: 325.8 kB / 0.8204 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.01046, allocations: 41.69 kB / 0.8205 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.01047, allocations: 0.5 kB / 0.8205 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.01048, allocations: 4 kB / 0.8205 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.01056, allocations: 28.45 kB / 0.8205 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01056, allocations: 5.938 kB / 0.8205 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.01068, allocations: 51.69 kB / 0.8206 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.01069, allocations: 12 kB / 0.8206 GB, free: 8.359 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.sta.offToOn.enableFire,$PRE.sta.onToOff.enableFire,$whenCondition1,$whenCondition2,sta.onToOff.t_start,$PRE.sta.onToOff.t_start,sta.onToOff.fire,sta.onToOff.enableFire,sta.on.active,sta.on.oldActive,$PRE.sta.on.oldActive,sta.on.newActive,$PRE.sta.on.newActive,sta.on.localActive,$PRE.sta.on.localActive,sta.offToOn.t_start,$PRE.sta.offToOn.t_start,sta.offToOn.fire,sta.offToOn.enableFire,sta.off.active,sta.off.oldActive,$PRE.sta.off.oldActive,sta.off.newActive,$PRE.sta.off.newActive,sta.off.localActive,$PRE.sta.off.localActive,sta.stateGraphRoot.activeSteps,y1.y,$PRE.y1.y,$whenCondition3,$whenCondition4,sta.stateGraphRoot.suspend,sta.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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.0001041/0.0108, allocations: 190.1 kB / 0.8208 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.01082, allocations: 31.88 kB / 0.8208 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.01085, allocations: 22.62 kB / 0.8208 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01086, allocations: 8 kB / 0.8208 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.01086, allocations: 2.812 kB / 0.8208 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01086, allocations: 0 / 0.8208 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.01131, allocations: 0.4999 MB / 0.8213 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01132, allocations: 0 / 0.8213 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.01136, allocations: 15.94 kB / 0.8213 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01136, allocations: 4 kB / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.01137, allocations: 7.984 kB / 0.8213 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01137, allocations: 6.656 kB / 0.8214 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01137, allocations: 0 / 0.8214 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.01156, allocations: 326.3 kB / 0.8217 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.01158, allocations: 15.84 kB / 0.8217 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.01159, allocations: 8 kB / 0.8217 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.01164, allocations: 15.92 kB / 0.8217 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.01169, allocations: 19.95 kB / 0.8217 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.0117, allocations: 8.938 kB / 0.8217 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.01175, allocations: 140.5 kB / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01175, allocations: 1.062 kB / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002116/0.01196, allocations: 63.89 kB / 0.8219 GB, free: 6.945 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: 20 (sta.offToOn.enableFire,sta.onToOff.enableFire,sta.on.active,sta.off.active,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,y1.y,sta.stateGraphRoot.activeSteps,sta.off.localActive,sta.off.newActive,sta.off.oldActive,sta.offToOn.fire,sta.offToOn.t_start,sta.on.localActive,sta.on.newActive,sta.on.oldActive,sta.onToOff.fire,sta.onToOff.t_start) * Number of discrete states: 2 (sta.off.newActive,sta.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 22 * 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.0001155/0.01208, allocations: 116.1 kB / 0.822 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.01232, allocations: 254.7 kB / 0.8223 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01232, allocations: 5.062 kB / 0.8223 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.01239, allocations: 79.55 kB / 0.8224 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01259, allocations: 33.58 kB / 0.8224 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.01302, allocations: 367.1 kB / 0.8227 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.548e-05/0.01307, allocations: 80.83 kB / 0.8228 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.887e-05/0.01313, allocations: 25.47 kB / 0.8228 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.01326, allocations: 122.2 kB / 0.823 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01326, allocations: 0 / 0.823 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of Templates: time 0.004827/0.01809, allocations: 3.041 MB / 0.8259 GB, free: 2.828 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_StatusEmulator.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.1505175568163395]