Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001241/0.001241, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009372/0.0009372, allocations: 169 kB / 24.28 MB, free: 276 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.8864/0.8864, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.76/1.76, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.457e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1652/0.1653, allocations: 216.4 MB / 1.023 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.1836, allocations: 20.97 MB / 1.043 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.185, allocations: 75.44 kB / 1.043 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.187, allocations: 1.211 MB / 1.045 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.3796/0.5665, allocations: 4.352 MB / 1.049 GB, free: 50.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.5693, allocations: 1.603 MB / 1.05 GB, free: 50.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006845/0.5761, allocations: 7.17 MB / 1.057 GB, free: 50.89 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002671/0.5788, allocations: 1.904 MB / 1.059 GB, free: 50.74 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/0.5839, allocations: 3.456 MB / 1.063 GB, free: 50.47 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.5874, allocations: 2.354 MB / 1.065 GB, free: 50.29 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.5879, allocations: 344.9 kB / 1.065 GB, free: 50.29 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003979/0.5918, allocations: 2.932 MB / 1.068 GB, free: 50.04 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007973/0.5926, allocations: 1.502 MB / 1.07 GB, free: 49.89 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.5937, allocations: 1.359 MB / 1.071 GB, free: 49.77 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003879/0.5976, allocations: 4.512 MB / 1.075 GB, free: 49.29 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5976, allocations: 0 / 1.075 GB, free: 49.29 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5976, allocations: 1.094 kB / 1.075 GB, free: 49.29 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.788e-05/0.5977, allocations: 0 / 1.075 GB, free: 49.29 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.004969/0.6026, allocations: 3.984 MB / 1.079 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.6027, allocations: 10.06 kB / 1.079 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/0.6055, allocations: 1.118 MB / 1.08 GB, free: 47.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.6073, allocations: 1.702 MB / 1.082 GB, free: 47.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.6074, allocations: 207.1 kB / 1.082 GB, free: 47.06 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.6077, allocations: 280.6 kB / 1.082 GB, free: 47.05 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.6104, allocations: 2.347 MB / 1.085 GB, free: 46.44 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.6104, allocations: 5.203 kB / 1.085 GB, free: 46.44 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.6106, allocations: 113.4 kB / 1.085 GB, free: 46.44 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.6107, allocations: 189.4 kB / 1.085 GB, free: 46.43 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00354/0.6143, allocations: 2.402 MB / 1.087 GB, free: 46.38 MB / 0.9948 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.008044/0.6223, allocations: 6.397 MB / 1.094 GB, free: 45.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.6257, allocations: 3.553 MB / 1.097 GB, free: 45.29 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.6273, allocations: 1.23 MB / 1.098 GB, free: 45.26 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004741/0.6278, allocations: 209.5 kB / 1.098 GB, free: 45.25 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.6278, allocations: 84.84 kB / 1.099 GB, free: 45.21 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=399): time 4.799e-06/0.6278, allocations: 1 kB / 1.099 GB, free: 45.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=399): time 0.004215/0.6321, allocations: 3.232 MB / 1.102 GB, free: 44.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6321, allocations: 94.27 kB / 1.102 GB, free: 44.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.633, allocations: 1.168 MB / 1.103 GB, free: 44.59 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.6332, allocations: 93.48 kB / 1.103 GB, free: 44.55 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.6335, allocations: 1.01 MB / 1.104 GB, free: 44.02 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005608/0.6341, allocations: 1.425 MB / 1.105 GB, free: 43.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006365/0.6347, allocations: 0.6535 MB / 1.106 GB, free: 43.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.369e-05/0.6348, allocations: 483.6 kB / 1.107 GB, free: 42.56 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.6358, allocations: 0.7318 MB / 1.107 GB, free: 42.55 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.6371, allocations: 1.142 MB / 1.108 GB, free: 42.34 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.6395, allocations: 2.216 MB / 1.111 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6395, allocations: 0.75 kB / 1.111 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.003149/0.6427, allocations: 2.76 MB / 1.113 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6427, allocations: 3.594 kB / 1.113 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6427, allocations: 8.781 kB / 1.113 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.6427, allocations: 18.09 kB / 1.113 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.6444, allocations: 0.777 MB / 1.114 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.6445, allocations: 19.06 kB / 1.114 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.6456, allocations: 308.4 kB / 1.114 GB, free: 41.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.6458, allocations: 126 kB / 1.114 GB, free: 41.66 MB / 0.9948 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.0004893/0.6462, allocations: 354 kB / 1.115 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/0.6466, allocations: 374.7 kB / 1.115 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.6498, allocations: 2.812 MB / 1.118 GB, free: 41.13 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.6498, allocations: 38.66 kB / 1.118 GB, free: 41.13 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.6498, allocations: 3.406 kB / 1.118 GB, free: 41.13 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002438/0.6523, allocations: 2.16 MB / 1.12 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/0.6576, allocations: 5.06 MB / 1.125 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6577, allocations: 0 / 1.125 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.6591, allocations: 0.6613 MB / 1.126 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.6594, allocations: 135.3 kB / 1.126 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.6596, allocations: 81.06 kB / 1.126 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.6611, allocations: 6.065 MB / 1.132 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6611, allocations: 1 kB / 1.132 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/0.6651, allocations: 3.631 MB / 1.135 GB, free: 33.87 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007373/0.6658, allocations: 0.6685 MB / 1.136 GB, free: 33.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.666, allocations: 66.25 kB / 1.136 GB, free: 33.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008382/0.6669, allocations: 90.19 kB / 1.136 GB, free: 33.69 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.6672, allocations: 238.9 kB / 1.136 GB, free: 33.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.6673, allocations: 108.3 kB / 1.136 GB, free: 33.68 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000551/0.6678, allocations: 0.6861 MB / 1.137 GB, free: 33.53 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6678, allocations: 0 / 1.137 GB, free: 33.53 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001447/0.6693, allocations: 1.126 MB / 1.138 GB, free: 33.44 MB / 0.9948 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.0004273/0.6697, allocations: 341.3 kB / 1.138 GB, free: 33.34 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.6722, allocations: 2.331 MB / 1.141 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.6722, allocations: 1.062 kB / 1.141 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.6737, allocations: 1.785 MB / 1.143 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.676, allocations: 1.08 MB / 1.144 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.681, allocations: 5.259 MB / 1.149 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.6814, allocations: 0.6637 MB / 1.149 GB, free: 30.44 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001725/0.6831, allocations: 1.103 MB / 1.15 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/0.6837, allocations: 243.1 kB / 1.151 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of SimCode: time 1.002e-06/0.6837, allocations: 0 / 1.151 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of Templates: time 0.04107/0.7248, allocations: 48.37 MB / 1.198 GB, free: 10.56 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.375872816890478]