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.0009534/0.0009534, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001101/0.001101, allocations: 168.4 kB / 24.87 MB, free: 8.68 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.95/0.95, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.966/1.966, allocations: 377.9 MB / 0.6247 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] 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.513e-06/1.513e-06, allocations: 0 / 0.8127 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.261e-05, allocations: 3.297 kB / 0.8127 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.0017/0.001723, allocations: 0.8288 MB / 0.8136 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.003049, allocations: 1.218 MB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.003123, allocations: 0 / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.003237, allocations: 11.86 kB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.75e-05/0.003334, allocations: 24.45 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.003722, allocations: 140.9 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.004039, allocations: 351.8 kB / 0.8152 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.004196, allocations: 69.27 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.004365, allocations: 207.7 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.004575, allocations: 147.8 kB / 0.8157 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.004623, allocations: 36 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.004709, allocations: 39.98 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.004765, allocations: 47.84 kB / 0.8158 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.004868, allocations: 108.7 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.005173, allocations: 319.2 kB / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.005176, allocations: 1.031 kB / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005177, allocations: 0 / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.005182, allocations: 7.922 kB / 0.8162 GB, free: 13.94 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000571/0.005753, allocations: 0.6077 MB / 0.8168 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.005788, allocations: 12.03 kB / 0.8168 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.005858, allocations: 36.8 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.006081, allocations: 199 kB / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.00611, allocations: 16.38 kB / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.006146, allocations: 28.36 kB / 0.8171 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.006285, allocations: 102.9 kB / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.006292, allocations: 192 / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.006304, allocations: 9.906 kB / 0.8172 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.006312, allocations: 4.375 kB / 0.8172 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.006367, allocations: 43.89 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.006906, allocations: 0.489 MB / 0.8177 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.892e-05/0.007005, allocations: 70.95 kB / 0.8178 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.007036, allocations: 24.2 kB / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.007051, allocations: 4.531 kB / 0.8178 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.007184, allocations: 128.3 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.007186, allocations: 0 / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002376/0.007423, allocations: 153.6 kB / 0.8181 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.00746, allocations: 63.95 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.00761, allocations: 259.2 kB / 0.8184 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.007643, allocations: 29.7 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.007739, allocations: 184.5 kB / 0.8186 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.007767, allocations: 47.66 kB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.007868, allocations: 91.3 kB / 0.8187 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.007989, allocations: 0.509 MB / 0.8192 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.008128, allocations: 165 kB / 0.8194 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.008293, allocations: 240.3 kB / 0.8196 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.008484, allocations: 255.3 kB / 0.8198 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.008486, allocations: 4 kB / 0.8198 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004398/0.008926, allocations: 475 kB / 0.8203 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.008978, allocations: 97.09 kB / 0.8204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.008983, allocations: 0.9375 kB / 0.8204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.008992, allocations: 4 kB / 0.8204 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/0.009066, allocations: 25.36 kB / 0.8204 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.009071, allocations: 4 kB / 0.8204 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.009269, allocations: 69.03 kB / 0.8205 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.0093, allocations: 19.98 kB / 0.8205 GB, free: 9.148 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: 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.0001122/0.009412, allocations: 179.6 kB / 0.8207 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.009437, allocations: 19.91 kB / 0.8207 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.009638, allocations: 137.2 kB / 0.8208 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.009642, allocations: 4 kB / 0.8208 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.009645, allocations: 3.938 kB / 0.8208 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.00965, allocations: 0 / 0.8208 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.009803, allocations: 153.7 kB / 0.821 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.009805, allocations: 1.344 kB / 0.821 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.009855, allocations: 11.94 kB / 0.821 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.009859, allocations: 4 kB / 0.821 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.00987, allocations: 7.984 kB / 0.821 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009872, allocations: 1.094 kB / 0.821 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.009873, allocations: 0 / 0.821 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.01005, allocations: 172.2 kB / 0.8212 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.01006, allocations: 16.56 kB / 0.8212 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.01008, allocations: 0 / 0.8212 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.0101, allocations: 10.52 kB / 0.8212 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.01014, allocations: 15.92 kB / 0.8212 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.01015, allocations: 7.938 kB / 0.8212 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.01021, allocations: 159.1 kB / 0.8214 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.01021, allocations: 0 / 0.8214 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002448/0.01046, allocations: 71.88 kB / 0.8214 GB, free: 8.141 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: 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.0001332/0.01059, allocations: 110.2 kB / 0.8215 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.01093, allocations: 428.4 kB / 0.8219 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.01094, allocations: 0 / 0.8219 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/0.01099, allocations: 48.55 kB / 0.822 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.01121, allocations: 45.02 kB / 0.822 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.01165, allocations: 320 kB / 0.8223 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.74e-05/0.01171, allocations: 87.81 kB / 0.8224 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.738e-05/0.01175, allocations: 10.62 kB / 0.8224 GB, free: 7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.01194, allocations: 135.3 kB / 0.8226 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01194, allocations: 0 / 0.8226 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of Templates: time 0.006749/0.01869, allocations: 4.389 MB / 0.8268 GB, free: 2.586 MB / 0.7761 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.417137871962041]