Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.001118/0.001118, 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.001368/0.001368, allocations: 181 kB / 24.09 MB, free: 416 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.9954/0.9954, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.875/1.875, allocations: 377.9 MB / 0.624 GB, free: 8.43 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.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0.6562 kB / 0.812 GB, free: 364 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.495e-05, allocations: 2.312 kB / 0.812 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001772/0.001797, allocations: 0.8329 MB / 0.8128 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.003409, allocations: 1.222 MB / 0.814 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.003488, allocations: 4 kB / 0.814 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.003596, allocations: 13.55 kB / 0.814 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.003691, allocations: 15.88 kB / 0.814 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.004159, allocations: 147.5 kB / 0.8142 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.004503, allocations: 352.9 kB / 0.8145 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.004671, allocations: 66.91 kB / 0.8146 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.004873, allocations: 211.7 kB / 0.8148 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.005074, allocations: 145 kB / 0.8149 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.005127, allocations: 32 kB / 0.8149 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.005214, allocations: 47.98 kB / 0.815 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.005266, allocations: 53.42 kB / 0.815 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.005355, allocations: 103.8 kB / 0.8151 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.005652, allocations: 327.2 kB / 0.8154 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.005656, allocations: 0 / 0.8154 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.282e-06/0.005657, allocations: 0.7188 kB / 0.8154 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.005663, allocations: 0 / 0.8154 GB, free: 12.82 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006113/0.006275, allocations: 0.5985 MB / 0.816 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.006317, allocations: 9.688 kB / 0.816 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.006388, allocations: 40.8 kB / 0.8161 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.006612, allocations: 208.9 kB / 0.8163 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.006642, allocations: 20.38 kB / 0.8163 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.006674, allocations: 25.03 kB / 0.8163 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.006819, allocations: 102.9 kB / 0.8164 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.006828, allocations: 1.219 kB / 0.8164 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00684, allocations: 8.375 kB / 0.8164 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.006847, allocations: 1.531 kB / 0.8164 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.006903, allocations: 35.91 kB / 0.8165 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.007493, allocations: 0.501 MB / 0.8169 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.007594, allocations: 63.02 kB / 0.817 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.007625, allocations: 23.67 kB / 0.817 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.007646, allocations: 1.75 kB / 0.817 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.007788, allocations: 133 kB / 0.8172 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.695e-06/0.007791, allocations: 4 kB / 0.8172 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002587/0.008049, allocations: 151.5 kB / 0.8173 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.008087, allocations: 59.34 kB / 0.8174 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.00823, allocations: 247.2 kB / 0.8176 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.008262, allocations: 37.7 kB / 0.8176 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.008364, allocations: 191.1 kB / 0.8178 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.008391, allocations: 35.69 kB / 0.8178 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.008494, allocations: 95.94 kB / 0.8179 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.008621, allocations: 0.5103 MB / 0.8184 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.008768, allocations: 161 kB / 0.8186 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.008934, allocations: 245.5 kB / 0.8188 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.009134, allocations: 262.1 kB / 0.8191 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009136, allocations: 0 / 0.8191 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004353/0.009572, allocations: 480.8 kB / 0.8195 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.009624, allocations: 89.09 kB / 0.8196 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.009629, allocations: 7.938 kB / 0.8196 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.009646, allocations: 4 kB / 0.8196 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.009725, allocations: 15.94 kB / 0.8196 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.009731, allocations: 10.5 kB / 0.8197 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.009931, allocations: 63.83 kB / 0.8197 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.009962, allocations: 19.98 kB / 0.8197 GB, free: 8.039 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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.000323/0.01028, allocations: 181.7 kB / 0.8199 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.01031, allocations: 16.66 kB / 0.8199 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.01052, allocations: 136.4 kB / 0.8201 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01052, allocations: 0.5938 kB / 0.8201 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01053, allocations: 11.92 kB / 0.8201 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01053, allocations: 0.8438 kB / 0.8201 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.01068, allocations: 165.1 kB / 0.8202 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01068, allocations: 3.688 kB / 0.8202 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.01072, allocations: 11.98 kB / 0.8202 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01072, allocations: 0 / 0.8202 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01073, allocations: 4 kB / 0.8202 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01073, allocations: 0 / 0.8202 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01074, allocations: 0 / 0.8202 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.0109, allocations: 181.8 kB / 0.8204 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.01091, allocations: 15.89 kB / 0.8204 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01093, allocations: 4 kB / 0.8204 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.01095, allocations: 4 kB / 0.8204 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.01099, allocations: 13.91 kB / 0.8204 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.011, allocations: 8 kB / 0.8205 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.01106, allocations: 159.1 kB / 0.8206 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01106, allocations: 0 / 0.8206 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002124/0.01127, allocations: 67.89 kB / 0.8207 GB, free: 7.016 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: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001492/0.01142, allocations: 113.2 kB / 0.8208 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.01176, allocations: 415.9 kB / 0.8212 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01176, allocations: 0 / 0.8212 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.304e-05/0.01182, allocations: 58.34 kB / 0.8212 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01204, allocations: 37.86 kB / 0.8213 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.01249, allocations: 316.9 kB / 0.8216 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.01254, allocations: 83.81 kB / 0.8217 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.833e-05/0.01259, allocations: 22.77 kB / 0.8217 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.01276, allocations: 126.1 kB / 0.8218 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of SimCode: time 1.322e-06/0.01277, allocations: 0 / 0.8218 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of Templates: time 0.005973/0.01874, allocations: 4.315 MB / 0.826 GB, free: 1.535 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.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.234161104075611]