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.001021/0.001021, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009974/0.0009974, allocations: 181 kB / 23.36 MB, free: 1.129 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 1.034/1.034, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.548/2.548, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.562e-06/1.562e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.338e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001467/0.00148, allocations: 0.8758 MB / 0.8395 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.002951, allocations: 1.232 MB / 0.8407 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.003009, allocations: 0 / 0.8407 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.003118, allocations: 19.86 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.0032, allocations: 7.875 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.003531, allocations: 155.5 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.003823, allocations: 347.2 kB / 0.8412 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.003955, allocations: 63.56 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.004131, allocations: 203.8 kB / 0.8414 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.004312, allocations: 151.7 kB / 0.8416 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.004353, allocations: 32 kB / 0.8416 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.004435, allocations: 43.98 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.004478, allocations: 47.83 kB / 0.8417 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.837e-05/0.004576, allocations: 107.8 kB / 0.8418 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.004865, allocations: 331.1 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.004867, allocations: 4 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004867, allocations: 0 / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.004872, allocations: 0 / 0.8421 GB, free: 10.63 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.0005007/0.005373, allocations: 469.2 kB / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.005408, allocations: 8.625 kB / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.005477, allocations: 28.91 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.005679, allocations: 178.1 kB / 0.8428 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.005708, allocations: 20.36 kB / 0.8428 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.005742, allocations: 24.38 kB / 0.8428 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.005877, allocations: 121.7 kB / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005884, allocations: 192 / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.005896, allocations: 8.359 kB / 0.8429 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.005902, allocations: 4.375 kB / 0.8429 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.277e-05/0.005955, allocations: 35.86 kB / 0.843 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.006401, allocations: 333.5 kB / 0.8433 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.006491, allocations: 94.41 kB / 0.8434 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.006517, allocations: 12.86 kB / 0.8434 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.006533, allocations: 12 kB / 0.8434 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.006656, allocations: 134 kB / 0.8435 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.006657, allocations: 0 / 0.8435 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.000177/0.006834, allocations: 113.8 kB / 0.8436 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.006865, allocations: 59.34 kB / 0.8437 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.007014, allocations: 172 kB / 0.8439 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.007048, allocations: 37.7 kB / 0.8439 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.007109, allocations: 124.4 kB / 0.844 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.007134, allocations: 47.62 kB / 0.8441 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/0.007225, allocations: 69.62 kB / 0.8441 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.007296, allocations: 330.8 kB / 0.8444 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.007429, allocations: 159.9 kB / 0.8446 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.00758, allocations: 209.9 kB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.007789, allocations: 245.4 kB / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.007792, allocations: 0 / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000342/0.008134, allocations: 407.6 kB / 0.8454 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.008186, allocations: 101.1 kB / 0.8455 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.008191, allocations: 4 kB / 0.8455 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.008203, allocations: 0 / 0.8455 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.008271, allocations: 15.94 kB / 0.8455 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008276, allocations: 7.938 kB / 0.8455 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.008476, allocations: 79.94 kB / 0.8456 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.008505, allocations: 11.98 kB / 0.8456 GB, free: 6.68 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 9.705e-05/0.008602, allocations: 144.1 kB / 0.8458 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.008619, allocations: 11.98 kB / 0.8458 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.008755, allocations: 109.9 kB / 0.8459 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008757, allocations: 0 / 0.8459 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.00876, allocations: 3.938 kB / 0.8459 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.008763, allocations: 4 kB / 0.8459 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.008874, allocations: 121.8 kB / 0.846 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008875, allocations: 0 / 0.846 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.008917, allocations: 11.94 kB / 0.846 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008919, allocations: 0 / 0.846 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.008927, allocations: 4 kB / 0.846 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.00893, allocations: 4 kB / 0.846 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.008933, allocations: 7.969 kB / 0.846 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.009045, allocations: 126.6 kB / 0.8462 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.009063, allocations: 19.89 kB / 0.8462 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.009077, allocations: 0 / 0.8462 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.009097, allocations: 8 kB / 0.8462 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.009138, allocations: 18.81 kB / 0.8462 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.009147, allocations: 7.984 kB / 0.8462 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.009183, allocations: 45.02 kB / 0.8463 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.009183, allocations: 0 / 0.8463 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001771/0.00936, allocations: 75.81 kB / 0.8463 GB, free: 5.918 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 0.0001053/0.009465, allocations: 83 kB / 0.8464 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.009753, allocations: 408.1 kB / 0.8468 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.009757, allocations: 4 kB / 0.8468 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.00981, allocations: 43.17 kB / 0.8468 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.009963, allocations: 39.84 kB / 0.8469 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.01033, allocations: 316.2 kB / 0.8472 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.01038, allocations: 80.14 kB / 0.8473 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.01041, allocations: 17.48 kB / 0.8473 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.01058, allocations: 95.33 kB / 0.8474 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of SimCode: time 8.92e-07/0.01058, allocations: 0 / 0.8474 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of Templates: time 0.00534/0.01592, allocations: 4.288 MB / 0.8515 GB, free: 0.5312 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 -s gbode -gbm=radauIIA3 -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.455206088256091]