Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.001623/0.001623, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001817/0.001817, allocations: 173 kB / 23.49 MB, free: 1.055 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.8856/0.8856, allocations: 177.1 MB / 203.8 MB, free: 5.641 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 1.938/1.938, allocations: 429.5 MB / 0.6736 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 178] 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.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.318e-05, allocations: 3.938 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1221/0.1221, allocations: 163.7 MB / 1.038 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008267/0.1304, allocations: 8.726 MB / 1.047 GB, free: 9.629 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.131, allocations: 47.62 kB / 1.047 GB, free: 9.582 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009816/0.132, allocations: 0.5549 MB / 1.047 GB, free: 9.023 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.1343, allocations: 1.666 MB / 1.049 GB, free: 7.348 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1357, allocations: 1.02 MB / 1.05 GB, free: 6.324 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002775/0.1385, allocations: 4.235 MB / 1.054 GB, free: 2.074 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.1395, allocations: 1.125 MB / 1.055 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3773/0.5168, allocations: 2.17 MB / 1.057 GB, free: 51.52 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.5188, allocations: 1.413 MB / 1.058 GB, free: 51.52 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004955/0.5193, allocations: 192.2 kB / 1.059 GB, free: 51.52 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.5212, allocations: 0.9733 MB / 1.06 GB, free: 51.52 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.5216, allocations: 0.6727 MB / 1.06 GB, free: 51.52 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.5227, allocations: 0.7457 MB / 1.061 GB, free: 51.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.5256, allocations: 2.16 MB / 1.063 GB, free: 51.41 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5256, allocations: 4.25 kB / 1.063 GB, free: 51.41 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5256, allocations: 0 / 1.063 GB, free: 51.41 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.595e-05/0.5256, allocations: 1.188 kB / 1.063 GB, free: 51.41 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.003047/0.5287, allocations: 2.266 MB / 1.065 GB, free: 50.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5287, allocations: 10.22 kB / 1.065 GB, free: 50.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.5326, allocations: 1.168 MB / 1.066 GB, free: 50.18 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.5342, allocations: 1.087 MB / 1.068 GB, free: 49.9 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.088e-05/0.5343, allocations: 130.4 kB / 1.068 GB, free: 49.89 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.5346, allocations: 157.3 kB / 1.068 GB, free: 49.89 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.5371, allocations: 1.958 MB / 1.07 GB, free: 49.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.5371, allocations: 3.688 kB / 1.07 GB, free: 49.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.5373, allocations: 61.03 kB / 1.07 GB, free: 49.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.301e-05/0.5374, allocations: 100 kB / 1.07 GB, free: 49.51 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.5397, allocations: 1.714 MB / 1.072 GB, free: 49.49 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005329/0.545, allocations: 4.64 MB / 1.076 GB, free: 48.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.5476, allocations: 2.47 MB / 1.078 GB, free: 48.09 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.5487, allocations: 0.9088 MB / 1.079 GB, free: 48.07 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.5489, allocations: 79.94 kB / 1.079 GB, free: 48.07 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.549, allocations: 64.27 kB / 1.08 GB, free: 48.02 MB / 1.01 GB Notification: Performance of pre-optimization done (n=237): time 4.719e-06/0.549, allocations: 0 / 1.08 GB, free: 48.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=237): time 0.003945/0.5529, allocations: 2.413 MB / 1.082 GB, free: 47.84 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.553, allocations: 81.64 kB / 1.082 GB, free: 47.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/0.5537, allocations: 0.7828 MB / 1.083 GB, free: 47.55 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.5538, allocations: 64.02 kB / 1.083 GB, free: 47.52 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.5541, allocations: 0.6314 MB / 1.083 GB, free: 47.15 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004631/0.5545, allocations: 0.8421 MB / 1.084 GB, free: 46.59 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000603/0.5551, allocations: 436.4 kB / 1.085 GB, free: 46.55 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5552, allocations: 0.5211 MB / 1.085 GB, free: 46.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.5564, allocations: 0.6121 MB / 1.086 GB, free: 46.06 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.5578, allocations: 0.9137 MB / 1.087 GB, free: 45.84 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.5605, allocations: 1.646 MB / 1.088 GB, free: 45.58 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.5605, allocations: 6.766 kB / 1.088 GB, free: 45.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003573/0.5641, allocations: 2.046 MB / 1.09 GB, free: 45.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.5641, allocations: 8.281 kB / 1.09 GB, free: 45.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5641, allocations: 2.938 kB / 1.09 GB, free: 45.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/0.5641, allocations: 14.66 kB / 1.09 GB, free: 45.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.5659, allocations: 0.5867 MB / 1.091 GB, free: 45.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.5659, allocations: 13.88 kB / 1.091 GB, free: 45.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.5672, allocations: 283.7 kB / 1.091 GB, free: 45.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.5673, allocations: 91.27 kB / 1.091 GB, free: 45.27 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (303): * Single equations (assignments): 303 * 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.0005071/0.5678, allocations: 277.7 kB / 1.091 GB, free: 45.11 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.5682, allocations: 225.9 kB / 1.092 GB, free: 45.03 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.5712, allocations: 2.075 MB / 1.094 GB, free: 44.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.5712, allocations: 27.03 kB / 1.094 GB, free: 44.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5712, allocations: 0 / 1.094 GB, free: 44.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0023/0.5735, allocations: 1.742 MB / 1.095 GB, free: 44.58 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.5777, allocations: 3.089 MB / 1.098 GB, free: 44.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.5777, allocations: 1.094 kB / 1.098 GB, free: 44.06 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.5793, allocations: 0.4914 MB / 1.099 GB, free: 44.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/0.5796, allocations: 90.19 kB / 1.099 GB, free: 44.04 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.5797, allocations: 62.41 kB / 1.099 GB, free: 44.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003896/0.5801, allocations: 1.612 MB / 1.101 GB, free: 42.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5801, allocations: 4.312 kB / 1.101 GB, free: 42.45 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.5843, allocations: 2.794 MB / 1.103 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008143/0.5852, allocations: 450.7 kB / 1.104 GB, free: 41.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.5854, allocations: 40.47 kB / 1.104 GB, free: 41.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009962/0.5864, allocations: 140 kB / 1.104 GB, free: 41.94 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.5866, allocations: 142.5 kB / 1.104 GB, free: 41.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.5868, allocations: 77 kB / 1.104 GB, free: 41.94 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004967/0.5873, allocations: 484 kB / 1.105 GB, free: 41.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5873, allocations: 1.031 kB / 1.105 GB, free: 41.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001455/0.5887, allocations: 0.723 MB / 1.105 GB, free: 41.74 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005767/0.5893, allocations: 348.3 kB / 1.106 GB, free: 41.63 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002872/0.5922, allocations: 1.748 MB / 1.107 GB, free: 41.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5922, allocations: 0.875 kB / 1.107 GB, free: 41.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.5936, allocations: 0.9515 MB / 1.108 GB, free: 41.55 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.5955, allocations: 0.6373 MB / 1.109 GB, free: 41.49 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.6003, allocations: 3.249 MB / 1.112 GB, free: 40.38 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.6006, allocations: 372 kB / 1.112 GB, free: 40.29 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002246/0.6029, allocations: 0.7366 MB / 1.113 GB, free: 40.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007055/0.6036, allocations: 173.9 kB / 1.113 GB, free: 40.15 MB / 1.01 GB Notification: Performance of SimCode: time 2.164e-06/0.6036, allocations: 5.312 kB / 1.113 GB, free: 40.15 MB / 1.01 GB Notification: Performance of Templates: time 0.04568/0.6492, allocations: 35.82 MB / 1.148 GB, free: 36.31 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.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.737401008838788]