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.0009237/0.0009237, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009497/0.0009497, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.96/0.96, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.334/2.334, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.352e-06/1.352e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.732e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1503/0.1503, allocations: 155.9 MB / 0.9909 GB, free: 1.656 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.1641, allocations: 11.06 MB / 1.002 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.1657, allocations: 75.44 kB / 1.002 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1667, allocations: 0.5004 MB / 1.002 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003564/0.1703, allocations: 2.206 MB / 1.004 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.1722, allocations: 1.196 MB / 1.006 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.006108/0.1784, allocations: 7.016 MB / 1.012 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.1811, allocations: 1.958 MB / 1.014 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/0.1857, allocations: 3.521 MB / 1.018 GB, free: 6.059 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.1882, allocations: 2.233 MB / 1.02 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.1888, allocations: 340 kB / 1.02 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.19, allocations: 0.6943 MB / 1.021 GB, free: 2.793 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0008915/0.1909, allocations: 1.5 MB / 1.022 GB, free: 1.289 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.1925, allocations: 1.349 MB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.1956, allocations: 3.341 MB / 1.027 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1956, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1956, allocations: 7.984 kB / 1.027 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.256e-05/0.1957, allocations: 0 / 1.027 GB, free: 12.58 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: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.004721/0.2004, allocations: 3.548 MB / 1.03 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2004, allocations: 12.92 kB / 1.03 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007047/0.2075, allocations: 2.263 MB / 1.033 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.2095, allocations: 1.226 MB / 1.034 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2097, allocations: 221.4 kB / 1.034 GB, free: 5.203 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.21, allocations: 283.9 kB / 1.034 GB, free: 4.926 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/0.2135, allocations: 2.862 MB / 1.037 GB, free: 1.926 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/0.2136, allocations: 4 kB / 1.037 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.2138, allocations: 112 kB / 1.037 GB, free: 1.812 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.2139, allocations: 189.8 kB / 1.037 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.2166, allocations: 2.031 MB / 1.039 GB, free: 15.57 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.008526/0.2251, allocations: 5.806 MB / 1.045 GB, free: 9.703 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.2282, allocations: 3.484 MB / 1.049 GB, free: 6.176 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.2295, allocations: 1.056 MB / 1.05 GB, free: 5.109 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.2297, allocations: 87.05 kB / 1.05 GB, free: 5.023 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.2297, allocations: 77.7 kB / 1.05 GB, free: 4.938 MB / 1.01 GB Notification: Performance of pre-optimization done (n=399): time 6.642e-06/0.2297, allocations: 0 / 1.05 GB, free: 4.938 MB / 1.01 GB Notification: Performance of matching and sorting (n=399): time 0.00413/0.2339, allocations: 2.455 MB / 1.052 GB, free: 2.457 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.2339, allocations: 94.55 kB / 1.052 GB, free: 2.352 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.2347, allocations: 1.001 MB / 1.053 GB, free: 1.344 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.2349, allocations: 89.7 kB / 1.053 GB, free: 1.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.2352, allocations: 0.8027 MB / 1.054 GB, free: 444 kB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.3839/0.6191, allocations: 1.391 MB / 1.055 GB, free: 80.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.6202, allocations: 0.6129 MB / 1.056 GB, free: 80.11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.578e-05/0.6203, allocations: 303.5 kB / 1.056 GB, free: 79.81 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.6214, allocations: 0.6839 MB / 1.057 GB, free: 79.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6227, allocations: 0.969 MB / 1.058 GB, free: 79.65 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.6257, allocations: 2.141 MB / 1.06 GB, free: 79.45 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.6257, allocations: 1.781 kB / 1.06 GB, free: 79.45 MB / 1.01 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.003516/0.6292, allocations: 2.181 MB / 1.062 GB, free: 79.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.6292, allocations: 10.94 kB / 1.062 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6293, allocations: 3.234 kB / 1.062 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.6293, allocations: 20.22 kB / 1.062 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/0.6326, allocations: 0.964 MB / 1.063 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.961e-05/0.6327, allocations: 20.05 kB / 1.063 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.6356, allocations: 429.9 kB / 1.064 GB, free: 79.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003507/0.6359, allocations: 97.3 kB / 1.064 GB, free: 79.25 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.0009315/0.6369, allocations: 305 kB / 1.064 GB, free: 79.13 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/0.6375, allocations: 281.1 kB / 1.064 GB, free: 79.13 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.6379, allocations: 410 kB / 1.065 GB, free: 79.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.6379, allocations: 38.84 kB / 1.065 GB, free: 79.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/0.6379, allocations: 2.812 kB / 1.065 GB, free: 79.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002614/0.6405, allocations: 1.59 MB / 1.066 GB, free: 78.83 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/0.6472, allocations: 4.076 MB / 1.07 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6472, allocations: 0.6562 kB / 1.07 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/0.6501, allocations: 0.863 MB / 1.071 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.6505, allocations: 150.2 kB / 1.071 GB, free: 78.36 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002786/0.6507, allocations: 86.06 kB / 1.071 GB, free: 78.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.6523, allocations: 4.396 MB / 1.075 GB, free: 74.21 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6523, allocations: 1.484 kB / 1.075 GB, free: 74.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004784/0.6571, allocations: 3.038 MB / 1.078 GB, free: 73.86 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009814/0.6581, allocations: 0.5069 MB / 1.079 GB, free: 73.73 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/0.6584, allocations: 67.78 kB / 1.079 GB, free: 73.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.66, allocations: 215.1 kB / 1.079 GB, free: 73.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/0.6604, allocations: 226.5 kB / 1.079 GB, free: 73.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/0.6607, allocations: 91.45 kB / 1.08 GB, free: 73.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004878/0.6612, allocations: 487.3 kB / 1.08 GB, free: 73.68 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6612, allocations: 3.25 kB / 1.08 GB, free: 73.68 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001903/0.6631, allocations: 1.214 MB / 1.081 GB, free: 73.63 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.0003818/0.6634, allocations: 198.4 kB / 1.081 GB, free: 73.56 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.6662, allocations: 2.093 MB / 1.083 GB, free: 73.47 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.72e-05/0.6662, allocations: 17.5 kB / 1.083 GB, free: 73.47 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.6678, allocations: 1.475 MB / 1.085 GB, free: 73.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.6704, allocations: 1.158 MB / 1.086 GB, free: 73.01 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006657/0.6771, allocations: 5.427 MB / 1.091 GB, free: 71.21 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.6776, allocations: 0.6476 MB / 1.092 GB, free: 71.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002896/0.6805, allocations: 0.6419 MB / 1.093 GB, free: 71.04 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002739/0.6832, allocations: 0.9028 MB / 1.093 GB, free: 70.95 MB / 1.01 GB Notification: Performance of SimCode: time 1.383e-06/0.6832, allocations: 0 / 1.093 GB, free: 70.95 MB / 1.01 GB Notification: Performance of Templates: time 0.06/0.7432, allocations: 65.97 MB / 1.158 GB, free: 37.48 MB / 1.01 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 -s gbode -gbm=radauIIA3 -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: 7.3088732631877065]