Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.0009426/0.0009426, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009733/0.0009733, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.024/1.024, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.247/2.247, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.13e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1275/0.1275, allocations: 153.8 MB / 1.04 GB, free: 15.45 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.1405, allocations: 10.83 MB / 1.05 GB, free: 4.586 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.1425, allocations: 75.44 kB / 1.051 GB, free: 4.512 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.1436, allocations: 0.4965 MB / 1.051 GB, free: 4.012 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.1476, allocations: 2.21 MB / 1.053 GB, free: 1.789 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.15, allocations: 1.196 MB / 1.054 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.4157/0.5657, allocations: 7.03 MB / 1.061 GB, free: 50.41 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.5676, allocations: 1.898 MB / 1.063 GB, free: 50.29 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.5716, allocations: 3.543 MB / 1.067 GB, free: 50.11 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.5737, allocations: 2.335 MB / 1.069 GB, free: 49.93 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005181/0.5742, allocations: 344.3 kB / 1.069 GB, free: 49.93 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.5753, allocations: 0.7083 MB / 1.07 GB, free: 49.9 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006871/0.576, allocations: 1.49 MB / 1.071 GB, free: 49.76 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008901/0.5769, allocations: 1.349 MB / 1.073 GB, free: 49.63 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.579, allocations: 3.344 MB / 1.076 GB, free: 49.29 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.579, allocations: 0 / 1.076 GB, free: 49.29 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.663e-06/0.579, allocations: 2.625 kB / 1.076 GB, free: 49.29 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.975e-05/0.579, allocations: 3.844 kB / 1.076 GB, free: 49.29 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.003753/0.5827, allocations: 3.777 MB / 1.08 GB, free: 47.83 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.5828, allocations: 16.36 kB / 1.08 GB, free: 47.82 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/0.589, allocations: 2.299 MB / 1.082 GB, free: 47.42 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.5905, allocations: 1.556 MB / 1.083 GB, free: 47 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.5907, allocations: 220.8 kB / 1.084 GB, free: 46.99 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.5911, allocations: 274.1 kB / 1.084 GB, free: 46.99 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.594, allocations: 2.731 MB / 1.086 GB, free: 46.37 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.594, allocations: 6.734 kB / 1.086 GB, free: 46.37 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.5943, allocations: 115.9 kB / 1.087 GB, free: 46.37 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.5945, allocations: 183.6 kB / 1.087 GB, free: 46.36 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.5977, allocations: 2.417 MB / 1.089 GB, free: 46.27 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009233/0.6069, allocations: 7.204 MB / 1.096 GB, free: 45.14 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/0.6108, allocations: 3.665 MB / 1.1 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.6127, allocations: 1.236 MB / 1.101 GB, free: 44.82 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.6129, allocations: 100 kB / 1.101 GB, free: 44.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.613, allocations: 82.47 kB / 1.101 GB, free: 44.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=399): time 6.151e-06/0.613, allocations: 2.719 kB / 1.101 GB, free: 44.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=399): time 0.005897/0.6189, allocations: 3.217 MB / 1.104 GB, free: 44.46 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.6189, allocations: 93.89 kB / 1.104 GB, free: 44.39 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.6201, allocations: 1.137 MB / 1.105 GB, free: 44.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002632/0.6203, allocations: 91.86 kB / 1.106 GB, free: 44.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.6208, allocations: 1.028 MB / 1.107 GB, free: 43.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008718/0.6217, allocations: 1.433 MB / 1.108 GB, free: 42.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009832/0.6227, allocations: 0.6815 MB / 1.109 GB, free: 42.59 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.6227, allocations: 481.7 kB / 1.109 GB, free: 42.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.6241, allocations: 0.8023 MB / 1.11 GB, free: 42.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.6258, allocations: 1.235 MB / 1.111 GB, free: 41.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.6289, allocations: 2.36 MB / 1.113 GB, free: 41.66 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.6289, allocations: 1.938 kB / 1.113 GB, free: 41.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.004438/0.6333, allocations: 2.904 MB / 1.116 GB, free: 41.41 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.6334, allocations: 8.625 kB / 1.116 GB, free: 41.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6334, allocations: 2.75 kB / 1.116 GB, free: 41.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.6334, allocations: 20.22 kB / 1.116 GB, free: 41.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.6363, allocations: 0.9075 MB / 1.117 GB, free: 41.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.824e-05/0.6363, allocations: 32.98 kB / 1.117 GB, free: 41.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.6386, allocations: 431.7 kB / 1.118 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.6389, allocations: 106.7 kB / 1.118 GB, free: 41.22 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 493 * Array equations: 0 * Algorithm blocks: 0 * 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.0008926/0.6397, allocations: 345.6 kB / 1.118 GB, free: 41.06 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005987/0.6403, allocations: 373.2 kB / 1.118 GB, free: 40.93 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.6407, allocations: 409.6 kB / 1.119 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.6408, allocations: 37.47 kB / 1.119 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.462e-05/0.6408, allocations: 1.438 kB / 1.119 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003017/0.6438, allocations: 2.147 MB / 1.121 GB, free: 40.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007185/0.651, allocations: 5.057 MB / 1.126 GB, free: 39.99 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.651, allocations: 2.688 kB / 1.126 GB, free: 39.99 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/0.6535, allocations: 0.7954 MB / 1.127 GB, free: 39.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/0.6538, allocations: 132.1 kB / 1.127 GB, free: 39.96 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002397/0.654, allocations: 94.38 kB / 1.127 GB, free: 39.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.6557, allocations: 5.996 MB / 1.133 GB, free: 34.17 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6557, allocations: 0 / 1.133 GB, free: 34.17 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/0.6605, allocations: 3.656 MB / 1.136 GB, free: 33.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.6618, allocations: 0.6859 MB / 1.137 GB, free: 33.47 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.6621, allocations: 67.19 kB / 1.137 GB, free: 33.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.6636, allocations: 217.5 kB / 1.137 GB, free: 33.47 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.664, allocations: 223.9 kB / 1.137 GB, free: 33.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/0.6642, allocations: 94.38 kB / 1.138 GB, free: 33.46 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004935/0.6647, allocations: 0.6172 MB / 1.138 GB, free: 33.31 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6647, allocations: 0.875 kB / 1.138 GB, free: 33.31 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001952/0.6666, allocations: 1.213 MB / 1.139 GB, free: 33.22 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003875/0.667, allocations: 226.2 kB / 1.14 GB, free: 33.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002989/0.67, allocations: 2.45 MB / 1.142 GB, free: 33.03 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.67, allocations: 4.312 kB / 1.142 GB, free: 33.03 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.6717, allocations: 1.818 MB / 1.144 GB, free: 32.48 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.6742, allocations: 1.131 MB / 1.145 GB, free: 32.28 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.6806, allocations: 5.825 MB / 1.15 GB, free: 29.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.681, allocations: 0.668 MB / 1.151 GB, free: 29.56 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002083/0.6831, allocations: 0.627 MB / 1.152 GB, free: 29.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002444/0.6855, allocations: 1.044 MB / 1.153 GB, free: 29.14 MB / 1.01 GB Notification: Performance of SimCode: time 1.453e-06/0.6855, allocations: 0 / 1.153 GB, free: 29.14 MB / 1.01 GB Notification: Performance of Templates: time 0.05708/0.7426, allocations: 65.99 MB / 1.217 GB, free: 1.109 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.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: 8.56806110078469]