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.0009224/0.0009224, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0008715/0.0008715, allocations: 173.3 kB / 23.03 MB, free: 1.543 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.8597/0.8597, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.961/1.961, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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.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.182e-06/1.182e-06, allocations: 0 / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.18e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1219/0.1219, allocations: 156.7 MB / 1.031 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.1339, allocations: 10.92 MB / 1.042 GB, free: 14.15 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009686/0.1349, allocations: 75.44 kB / 1.042 GB, free: 14.07 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008668/0.1357, allocations: 0.4926 MB / 1.042 GB, free: 13.58 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.1385, allocations: 2.214 MB / 1.045 GB, free: 11.35 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1401, allocations: 1.196 MB / 1.046 GB, free: 10.15 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00479/0.1449, allocations: 7.046 MB / 1.053 GB, free: 3.086 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/0.1471, allocations: 1.893 MB / 1.054 GB, free: 1.145 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4071/0.5542, allocations: 3.54 MB / 1.058 GB, free: 53.24 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.557, allocations: 2.333 MB / 1.06 GB, free: 53.24 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0007598/0.5578, allocations: 343.3 kB / 1.06 GB, free: 53.24 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.5593, allocations: 0.7013 MB / 1.061 GB, free: 53.24 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.5603, allocations: 1.494 MB / 1.063 GB, free: 53.24 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.5621, allocations: 1.352 MB / 1.064 GB, free: 53.24 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.5653, allocations: 3.341 MB / 1.067 GB, free: 53.02 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5653, allocations: 0.5938 kB / 1.067 GB, free: 53.02 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5653, allocations: 1.094 kB / 1.067 GB, free: 53.02 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.5653, allocations: 0 / 1.067 GB, free: 53.02 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.004528/0.5699, allocations: 3.766 MB / 1.071 GB, free: 51.58 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5699, allocations: 10.92 kB / 1.071 GB, free: 51.58 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006725/0.5766, allocations: 2.3 MB / 1.073 GB, free: 51.18 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.5783, allocations: 1.663 MB / 1.075 GB, free: 50.76 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.5784, allocations: 221.2 kB / 1.075 GB, free: 50.75 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.5788, allocations: 278.4 kB / 1.075 GB, free: 50.75 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.5823, allocations: 3.069 MB / 1.078 GB, free: 50.13 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.5823, allocations: 6.797 kB / 1.078 GB, free: 50.13 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/0.5826, allocations: 111.2 kB / 1.078 GB, free: 50.13 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.5827, allocations: 185.2 kB / 1.079 GB, free: 50.12 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.5867, allocations: 3.045 MB / 1.082 GB, free: 50.07 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.009166/0.5958, allocations: 7.402 MB / 1.089 GB, free: 48.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/0.6002, allocations: 4.02 MB / 1.093 GB, free: 48.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.6023, allocations: 1.455 MB / 1.094 GB, free: 48.66 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.6025, allocations: 86.7 kB / 1.094 GB, free: 48.66 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.6025, allocations: 79.05 kB / 1.094 GB, free: 48.61 MB / 1.01 GB Notification: Performance of pre-optimization done (n=399): time 6.032e-06/0.6025, allocations: 0 / 1.094 GB, free: 48.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=399): time 0.006644/0.6092, allocations: 3.819 MB / 1.098 GB, free: 48.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.6092, allocations: 93.78 kB / 1.098 GB, free: 48.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.6103, allocations: 1.168 MB / 1.099 GB, free: 47.98 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.6106, allocations: 97.88 kB / 1.099 GB, free: 47.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.611, allocations: 1.016 MB / 1.1 GB, free: 47.41 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007623/0.6118, allocations: 1.421 MB / 1.102 GB, free: 46.48 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009445/0.6127, allocations: 0.6653 MB / 1.102 GB, free: 46.43 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.638e-05/0.6127, allocations: 481.9 kB / 1.103 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.6145, allocations: 1.064 MB / 1.104 GB, free: 45.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.6166, allocations: 1.482 MB / 1.105 GB, free: 45.75 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/0.6207, allocations: 2.842 MB / 1.108 GB, free: 45.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.6207, allocations: 2.406 kB / 1.108 GB, free: 45.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.005577/0.6263, allocations: 3.422 MB / 1.111 GB, free: 45.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.6263, allocations: 6.5 kB / 1.111 GB, free: 45.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.6263, allocations: 4.766 kB / 1.111 GB, free: 45.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/0.6264, allocations: 19.97 kB / 1.111 GB, free: 45.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.6297, allocations: 0.9169 MB / 1.112 GB, free: 45.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/0.6298, allocations: 27.05 kB / 1.112 GB, free: 45.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.632, allocations: 433 kB / 1.113 GB, free: 45.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.6323, allocations: 138.5 kB / 1.113 GB, free: 45.07 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.0009241/0.6332, allocations: 351 kB / 1.113 GB, free: 44.91 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/0.6338, allocations: 373.4 kB / 1.114 GB, free: 44.78 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004841/0.6343, allocations: 408.6 kB / 1.114 GB, free: 44.74 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-05/0.6343, allocations: 39.58 kB / 1.114 GB, free: 44.74 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.087e-05/0.6344, allocations: 1.438 kB / 1.114 GB, free: 44.74 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003961/0.6383, allocations: 2.543 MB / 1.116 GB, free: 44.45 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008121/0.6465, allocations: 5.851 MB / 1.122 GB, free: 43.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6465, allocations: 0 / 1.122 GB, free: 43.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002617/0.6491, allocations: 0.7997 MB / 1.123 GB, free: 43.83 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/0.6494, allocations: 138.9 kB / 1.123 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/0.6497, allocations: 90.73 kB / 1.123 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.6514, allocations: 6.069 MB / 1.129 GB, free: 37.94 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6515, allocations: 0 / 1.129 GB, free: 37.94 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006141/0.6576, allocations: 4.268 MB / 1.133 GB, free: 37.43 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.6589, allocations: 0.7561 MB / 1.134 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/0.6592, allocations: 68.67 kB / 1.134 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.6608, allocations: 218.5 kB / 1.134 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000481/0.6613, allocations: 228.7 kB / 1.135 GB, free: 37.24 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/0.6616, allocations: 120.7 kB / 1.135 GB, free: 37.24 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006583/0.6622, allocations: 0.6782 MB / 1.135 GB, free: 37.09 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6622, allocations: 0 / 1.135 GB, free: 37.09 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002/0.6642, allocations: 1.214 MB / 1.137 GB, free: 37 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.0004287/0.6646, allocations: 227.6 kB / 1.137 GB, free: 36.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003986/0.6686, allocations: 2.907 MB / 1.14 GB, free: 36.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6686, allocations: 0 / 1.14 GB, free: 36.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.6709, allocations: 2.022 MB / 1.142 GB, free: 35.95 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.6737, allocations: 1.122 MB / 1.143 GB, free: 35.63 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/0.6815, allocations: 5.988 MB / 1.148 GB, free: 32.97 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.682, allocations: 0.6661 MB / 1.149 GB, free: 32.79 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002825/0.6848, allocations: 1.252 MB / 1.15 GB, free: 32.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.6859, allocations: 259.5 kB / 1.151 GB, free: 32.44 MB / 1.01 GB Notification: Performance of SimCode: time 1.664e-06/0.6859, allocations: 0 / 1.151 GB, free: 32.44 MB / 1.01 GB Notification: Performance of Templates: time 0.05242/0.7383, allocations: 64.26 MB / 1.213 GB, free: 12.03 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: 10.168521056883037]