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.00152/0.00152, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001448/0.001448, allocations: 161 kB / 23.81 MB, free: 0.7578 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.9369/0.9369, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.898/1.898, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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.753e-06/1.753e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.924e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001377/0.001396, allocations: 0.8476 MB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.002738, allocations: 1.218 MB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.002806, allocations: 0 / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.00295, allocations: 19.8 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.003065, allocations: 21.7 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.003503, allocations: 143.6 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.003849, allocations: 348.9 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.004036, allocations: 70.84 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.004235, allocations: 203.8 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.004473, allocations: 147.7 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.004525, allocations: 33.59 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.004624, allocations: 51.97 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.004693, allocations: 35.92 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.004813, allocations: 115.8 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.005144, allocations: 323.2 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005146, allocations: 0.5312 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005147, allocations: 1.312 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.005151, allocations: 0 / 0.815 GB, free: 14.24 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.0006222/0.005774, allocations: 0.6062 MB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.005807, allocations: 13.19 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.005886, allocations: 32.83 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.00612, allocations: 210.2 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.006152, allocations: 17.75 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.006186, allocations: 24.38 kB / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.006354, allocations: 114.9 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.006363, allocations: 1.75 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.006376, allocations: 384 / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.006385, allocations: 4.375 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.006473, allocations: 59.78 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.007068, allocations: 0.5512 MB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.007194, allocations: 63.22 kB / 0.8166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.007236, allocations: 32.11 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.007254, allocations: 4.531 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.007395, allocations: 137.4 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.007397, allocations: 0 / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002964/0.007693, allocations: 169.4 kB / 0.8169 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.007734, allocations: 59.41 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.00789, allocations: 242.8 kB / 0.8172 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.007924, allocations: 39.86 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.008027, allocations: 187.1 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.008059, allocations: 47.67 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.008162, allocations: 95.28 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.008272, allocations: 0.5001 MB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.008462, allocations: 177 kB / 0.8182 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.008664, allocations: 263 kB / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.008882, allocations: 271.8 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.008885, allocations: 0 / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000485/0.00937, allocations: 0.4896 MB / 0.8192 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.009417, allocations: 93.09 kB / 0.8193 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.009423, allocations: 5.531 kB / 0.8193 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.009438, allocations: 7.938 kB / 0.8193 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.009521, allocations: 19.92 kB / 0.8194 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.009528, allocations: 0 / 0.8194 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.00974, allocations: 90.81 kB / 0.8194 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.009768, allocations: 23.98 kB / 0.8195 GB, free: 9.25 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 9.814e-05/0.009866, allocations: 174.8 kB / 0.8196 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.009888, allocations: 23.91 kB / 0.8197 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.01007, allocations: 141.1 kB / 0.8198 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01007, allocations: 11.92 kB / 0.8198 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01008, allocations: 4 kB / 0.8198 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01008, allocations: 0 / 0.8198 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.01021, allocations: 193.7 kB / 0.82 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01022, allocations: 0 / 0.82 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.01025, allocations: 23.86 kB / 0.82 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.01026, allocations: 1.031 kB / 0.82 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.01027, allocations: 0 / 0.82 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01027, allocations: 4 kB / 0.82 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01027, allocations: 4.906 kB / 0.82 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.01044, allocations: 176.2 kB / 0.8202 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.01045, allocations: 13.59 kB / 0.8202 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.01047, allocations: 4 kB / 0.8202 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/0.01049, allocations: 4 kB / 0.8202 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.01054, allocations: 19.91 kB / 0.8202 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01055, allocations: 4 kB / 0.8202 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.01062, allocations: 163.7 kB / 0.8204 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01062, allocations: 1.344 kB / 0.8204 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001964/0.01081, allocations: 71.88 kB / 0.8205 GB, free: 8.172 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.0001072/0.01092, allocations: 109.9 kB / 0.8206 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.01129, allocations: 445 kB / 0.821 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01129, allocations: 0.6562 kB / 0.821 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.01135, allocations: 59 kB / 0.821 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.01154, allocations: 31.95 kB / 0.8211 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.01193, allocations: 330.8 kB / 0.8214 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.01198, allocations: 87.81 kB / 0.8215 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.406e-05/0.01202, allocations: 23.75 kB / 0.8215 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.01205, allocations: 16.5 kB / 0.8215 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01205, allocations: 0 / 0.8215 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.005376/0.01743, allocations: 4.323 MB / 0.8257 GB, free: 2.75 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.23178800707683]