Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001154/0.001154, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001146/0.001146, allocations: 181 kB / 23.36 MB, free: 1.133 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.9706/0.9706, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.426/2.426, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.455e-05, allocations: 8.703 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001277/0.001292, allocations: 0.83 MB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002391, allocations: 1.228 MB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.002449, allocations: 3.938 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.00255, allocations: 19.86 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.002632, allocations: 11.86 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.00296, allocations: 147.6 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.003254, allocations: 355.1 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.003381, allocations: 63.56 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.003525, allocations: 203.8 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.003686, allocations: 151.7 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.003726, allocations: 32 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.003794, allocations: 43.98 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.00384, allocations: 47.83 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/0.003923, allocations: 107.8 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.00418, allocations: 327.1 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.004182, allocations: 4 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.71e-07/0.004182, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.004185, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 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.00044/0.004625, allocations: 473.2 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.004653, allocations: 8.625 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.004705, allocations: 28.91 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.004896, allocations: 186.1 kB / 0.8427 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.004919, allocations: 16.36 kB / 0.8427 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.004957, allocations: 32.36 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.005091, allocations: 113.7 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.005101, allocations: 4.188 kB / 0.8428 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.005112, allocations: 8.375 kB / 0.8429 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.005118, allocations: 4.359 kB / 0.8429 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.005166, allocations: 31.92 kB / 0.8429 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.005565, allocations: 333.4 kB / 0.8432 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.005652, allocations: 94.45 kB / 0.8433 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.005677, allocations: 20.86 kB / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.005689, allocations: 0 / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.005796, allocations: 138.1 kB / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.005797, allocations: 0 / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001591/0.005956, allocations: 113.1 kB / 0.8436 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.005985, allocations: 59.34 kB / 0.8436 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.006078, allocations: 184 kB / 0.8438 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.006108, allocations: 33.7 kB / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.006165, allocations: 120.5 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.006188, allocations: 51.56 kB / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/0.006272, allocations: 73.62 kB / 0.8441 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.006338, allocations: 326.8 kB / 0.8444 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.006452, allocations: 159.9 kB / 0.8445 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.006578, allocations: 206 kB / 0.8447 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.00674, allocations: 245.4 kB / 0.8449 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006742, allocations: 0 / 0.8449 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002935/0.007035, allocations: 407.6 kB / 0.8453 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.007077, allocations: 101.1 kB / 0.8454 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.007082, allocations: 4 kB / 0.8454 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.007094, allocations: 0 / 0.8454 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.007148, allocations: 12 kB / 0.8454 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.007155, allocations: 11.88 kB / 0.8455 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.007329, allocations: 80 kB / 0.8455 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.007354, allocations: 11.98 kB / 0.8455 GB, free: 6.688 MB / 0.8073 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 8.651e-05/0.007441, allocations: 144.6 kB / 0.8457 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.007455, allocations: 11.98 kB / 0.8457 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.00757, allocations: 103.3 kB / 0.8458 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.007572, allocations: 4 kB / 0.8458 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.007575, allocations: 3.938 kB / 0.8458 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007578, allocations: 4 kB / 0.8458 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.923e-05/0.007668, allocations: 113.8 kB / 0.8459 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007669, allocations: 0 / 0.8459 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.007694, allocations: 8 kB / 0.8459 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007696, allocations: 4 kB / 0.8459 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007704, allocations: 4 kB / 0.8459 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.007705, allocations: 0 / 0.8459 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007705, allocations: 0 / 0.8459 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.589e-05/0.007801, allocations: 134.6 kB / 0.8461 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.007811, allocations: 11.91 kB / 0.8461 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.007826, allocations: 7.984 kB / 0.8461 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.007843, allocations: 4 kB / 0.8461 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.007879, allocations: 22.81 kB / 0.8461 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.007885, allocations: 3.984 kB / 0.8461 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.895e-05/0.007914, allocations: 41.08 kB / 0.8461 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.007914, allocations: 0 / 0.8461 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000164/0.008078, allocations: 75.81 kB / 0.8462 GB, free: 5.941 MB / 0.8073 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 8.984e-05/0.008168, allocations: 94.91 kB / 0.8463 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.008438, allocations: 404.3 kB / 0.8467 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.008441, allocations: 0 / 0.8467 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/0.008486, allocations: 55.23 kB / 0.8467 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.008611, allocations: 37.2 kB / 0.8468 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.008936, allocations: 312.3 kB / 0.8471 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.008974, allocations: 83.81 kB / 0.8472 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.009006, allocations: 17.67 kB / 0.8472 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.009156, allocations: 103.3 kB / 0.8473 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.009157, allocations: 0 / 0.8473 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of Templates: time 0.004795/0.01395, allocations: 4.293 MB / 0.8515 GB, free: 0.5352 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.361041985917836]