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.001408/0.001408, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001609/0.001609, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9125/0.9125, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.061/2.061, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 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.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.282e-06/1.282e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.263e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1157/0.1157, allocations: 136.4 MB / 1.013 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00646/0.1221, allocations: 4.506 MB / 1.017 GB, free: 8.637 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000969/0.1231, allocations: 51.62 kB / 1.017 GB, free: 8.586 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007824/0.1239, allocations: 313.6 kB / 1.017 GB, free: 8.277 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.126, allocations: 1.231 MB / 1.019 GB, free: 7.039 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1275, allocations: 0.8689 MB / 1.019 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.003536/0.131, allocations: 4.156 MB / 1.023 GB, free: 2 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1323, allocations: 1.121 MB / 1.025 GB, free: 0.8594 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.1352, allocations: 1.993 MB / 1.026 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.137, allocations: 1.43 MB / 1.028 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.1373, allocations: 192 kB / 1.028 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008472/0.1381, allocations: 495.2 kB / 1.029 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004116/0.1385, allocations: 0.6583 MB / 1.029 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007415/0.1393, allocations: 0.7406 MB / 1.03 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1412, allocations: 1.916 MB / 1.032 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1412, allocations: 0 / 1.032 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1412, allocations: 0 / 1.032 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.967e-05/0.1412, allocations: 0 / 1.032 GB, free: 9.449 MB / 0.9948 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.002627/0.1439, allocations: 2.224 MB / 1.034 GB, free: 7.176 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1439, allocations: 12.03 kB / 1.034 GB, free: 7.164 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/0.1476, allocations: 1.165 MB / 1.035 GB, free: 5.996 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.1488, allocations: 0.9289 MB / 1.036 GB, free: 5.039 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.1489, allocations: 123.2 kB / 1.036 GB, free: 4.918 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.1492, allocations: 160 kB / 1.036 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.1513, allocations: 1.783 MB / 1.038 GB, free: 2.891 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.1514, allocations: 3.938 kB / 1.038 GB, free: 2.887 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.1515, allocations: 60 kB / 1.038 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.1517, allocations: 95.28 kB / 1.038 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.1533, allocations: 1.349 MB / 1.039 GB, free: 1.379 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.159, allocations: 4.534 MB / 1.044 GB, free: 12.76 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.1612, allocations: 2.256 MB / 1.046 GB, free: 10.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009598/0.1621, allocations: 0.7719 MB / 1.047 GB, free: 9.719 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.1623, allocations: 69.97 kB / 1.047 GB, free: 9.648 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1623, allocations: 59.39 kB / 1.047 GB, free: 9.582 MB / 1.01 GB Notification: Performance of pre-optimization done (n=237): time 4.318e-06/0.1623, allocations: 0 / 1.047 GB, free: 9.582 MB / 1.01 GB Notification: Performance of matching and sorting (n=237): time 0.003177/0.1655, allocations: 2.025 MB / 1.049 GB, free: 7.547 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1655, allocations: 85.34 kB / 1.049 GB, free: 7.449 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.1661, allocations: 0.7564 MB / 1.05 GB, free: 6.68 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.1663, allocations: 65.7 kB / 1.05 GB, free: 6.609 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.1666, allocations: 0.6336 MB / 1.05 GB, free: 5.965 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000562/0.1671, allocations: 0.852 MB / 1.051 GB, free: 5.105 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005476/0.1677, allocations: 442.6 kB / 1.052 GB, free: 4.664 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1678, allocations: 0.5237 MB / 1.052 GB, free: 4.133 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.1685, allocations: 464.4 kB / 1.053 GB, free: 3.676 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.1693, allocations: 0.7787 MB / 1.053 GB, free: 2.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.1709, allocations: 1.382 MB / 1.055 GB, free: 1.344 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1709, allocations: 0 / 1.055 GB, free: 1.344 MB / 1.01 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.3544/0.5253, allocations: 1.74 MB / 1.056 GB, free: 89.28 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5254, allocations: 9.688 kB / 1.056 GB, free: 89.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5254, allocations: 2.719 kB / 1.056 GB, free: 89.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.5254, allocations: 18.56 kB / 1.057 GB, free: 89.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.5273, allocations: 0.5807 MB / 1.057 GB, free: 89.28 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.5273, allocations: 20.34 kB / 1.057 GB, free: 89.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.5285, allocations: 275.1 kB / 1.057 GB, free: 89.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.5286, allocations: 69.94 kB / 1.057 GB, free: 89.28 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.0004387/0.5291, allocations: 274.1 kB / 1.058 GB, free: 89.12 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.5294, allocations: 228.7 kB / 1.058 GB, free: 89.12 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.5315, allocations: 1.813 MB / 1.06 GB, free: 89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5315, allocations: 26.25 kB / 1.06 GB, free: 89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5316, allocations: 0 / 1.06 GB, free: 89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/0.533, allocations: 1.484 MB / 1.061 GB, free: 88.68 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.536, allocations: 2.698 MB / 1.064 GB, free: 88.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.536, allocations: 2.938 kB / 1.064 GB, free: 88.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.5374, allocations: 497.7 kB / 1.064 GB, free: 88.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.5377, allocations: 95.19 kB / 1.064 GB, free: 88.27 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.5378, allocations: 56.2 kB / 1.064 GB, free: 88.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003079/0.5381, allocations: 1.612 MB / 1.066 GB, free: 86.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5381, allocations: 5.562 kB / 1.066 GB, free: 86.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.5408, allocations: 2.384 MB / 1.068 GB, free: 86.29 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/0.5413, allocations: 420.3 kB / 1.069 GB, free: 86.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.5415, allocations: 39.41 kB / 1.069 GB, free: 86.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/0.5424, allocations: 136.3 kB / 1.069 GB, free: 86.21 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.5426, allocations: 143.7 kB / 1.069 GB, free: 86.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.5427, allocations: 60.73 kB / 1.069 GB, free: 86.21 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002378/0.5429, allocations: 441.6 kB / 1.07 GB, free: 86.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5429, allocations: 1.094 kB / 1.07 GB, free: 86.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009602/0.5439, allocations: 0.6791 MB / 1.07 GB, free: 86.05 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.0003167/0.5442, allocations: 210.4 kB / 1.07 GB, free: 85.96 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.5458, allocations: 1.476 MB / 1.072 GB, free: 85.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5458, allocations: 0.5469 kB / 1.072 GB, free: 85.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009198/0.5468, allocations: 0.8282 MB / 1.073 GB, free: 85.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5482, allocations: 0.6274 MB / 1.073 GB, free: 85.85 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.5514, allocations: 3.156 MB / 1.076 GB, free: 84.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.5516, allocations: 376.2 kB / 1.077 GB, free: 84.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0013/0.5529, allocations: 382.6 kB / 1.077 GB, free: 84.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.5543, allocations: 0.6242 MB / 1.078 GB, free: 84.57 MB / 1.01 GB Notification: Performance of SimCode: time 1.282e-06/0.5543, allocations: 2.062 kB / 1.078 GB, free: 84.57 MB / 1.01 GB Notification: Performance of Templates: time 0.0402/0.5945, allocations: 37.43 MB / 1.114 GB, free: 80.82 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: 7.962212020065635]