Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001503/0.001503, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001842/0.001842, allocations: 169 kB / 24.28 MB, free: 272 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.9526/0.9526, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.749/1.749, allocations: 359 MB / 0.6055 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.761e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1746/0.1746, allocations: 216.3 MB / 0.9983 GB, free: 3.789 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.02175/0.1964, allocations: 20.97 MB / 1.019 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.199, allocations: 79.38 kB / 1.019 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.202, allocations: 1.196 MB / 1.02 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.008626/0.2106, allocations: 4.357 MB / 1.024 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.214, allocations: 1.613 MB / 1.026 GB, free: 7.488 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.007103/0.2211, allocations: 7.161 MB / 1.033 GB, free: 308 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.2239, allocations: 1.896 MB / 1.035 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005296/0.2291, allocations: 3.336 MB / 1.038 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.233, allocations: 2.369 MB / 1.04 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006933/0.2337, allocations: 348 kB / 1.041 GB, free: 8.328 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/0.239, allocations: 2.949 MB / 1.043 GB, free: 5.371 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.2404, allocations: 1.566 MB / 1.045 GB, free: 3.801 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.2425, allocations: 1.384 MB / 1.046 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.49/0.7325, allocations: 4.516 MB / 1.051 GB, free: 65.45 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.7325, allocations: 0 / 1.051 GB, free: 65.45 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7325, allocations: 0 / 1.051 GB, free: 65.45 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001564/0.7326, allocations: 0 / 1.051 GB, free: 65.45 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.006887/0.7395, allocations: 4.106 MB / 1.055 GB, free: 63.87 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7396, allocations: 11.56 kB / 1.055 GB, free: 63.87 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.7428, allocations: 1.118 MB / 1.056 GB, free: 63.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.7456, allocations: 1.787 MB / 1.058 GB, free: 63.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.7457, allocations: 207.5 kB / 1.058 GB, free: 63.19 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.746, allocations: 276.8 kB / 1.058 GB, free: 63.18 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.7491, allocations: 2.224 MB / 1.06 GB, free: 62.57 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.7491, allocations: 0 / 1.06 GB, free: 62.57 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.7493, allocations: 113.4 kB / 1.06 GB, free: 62.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.917e-05/0.7494, allocations: 126.3 kB / 1.061 GB, free: 62.56 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/0.7526, allocations: 2.172 MB / 1.063 GB, free: 62.51 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.008467/0.7611, allocations: 6.048 MB / 1.069 GB, free: 61.77 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.7642, allocations: 3.557 MB / 1.072 GB, free: 61.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.7658, allocations: 1.233 MB / 1.073 GB, free: 61.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004901/0.7663, allocations: 209.8 kB / 1.073 GB, free: 61.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.7663, allocations: 78.62 kB / 1.073 GB, free: 61.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=399): time 6.492e-06/0.7663, allocations: 0 / 1.073 GB, free: 61.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=399): time 0.005668/0.772, allocations: 3.243 MB / 1.077 GB, free: 61.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.772, allocations: 93.45 kB / 1.077 GB, free: 61.04 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7733, allocations: 1.085 MB / 1.078 GB, free: 60.84 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.7735, allocations: 92.73 kB / 1.078 GB, free: 60.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.7739, allocations: 0.8909 MB / 1.079 GB, free: 60.41 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000782/0.7747, allocations: 1.406 MB / 1.08 GB, free: 59.48 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006291/0.7753, allocations: 0.5558 MB / 1.081 GB, free: 59.44 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.7753, allocations: 486.5 kB / 1.081 GB, free: 58.97 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.7764, allocations: 0.6438 MB / 1.082 GB, free: 58.96 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.7778, allocations: 1.018 MB / 1.083 GB, free: 58.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/0.7807, allocations: 2.055 MB / 1.085 GB, free: 58.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.7807, allocations: 0.9062 kB / 1.085 GB, free: 58.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.004178/0.7849, allocations: 2.468 MB / 1.087 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.7849, allocations: 5.688 kB / 1.087 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.785, allocations: 4.531 kB / 1.087 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.835e-05/0.785, allocations: 17.47 kB / 1.087 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.787, allocations: 0.682 MB / 1.088 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.537e-05/0.787, allocations: 23.14 kB / 1.088 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.7889, allocations: 249.1 kB / 1.088 GB, free: 58.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.7891, allocations: 113.2 kB / 1.088 GB, free: 58.11 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 (430): * Single equations (assignments): 430 * 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.0009447/0.79, allocations: 340.3 kB / 1.089 GB, free: 57.95 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/0.7907, allocations: 377.5 kB / 1.089 GB, free: 57.82 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/0.7944, allocations: 2.808 MB / 1.092 GB, free: 57.58 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.7945, allocations: 37.34 kB / 1.092 GB, free: 57.58 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.7945, allocations: 3.969 kB / 1.092 GB, free: 57.58 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002692/0.7972, allocations: 2.154 MB / 1.094 GB, free: 57.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/0.8044, allocations: 5.066 MB / 1.099 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.8044, allocations: 0 / 1.099 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.8061, allocations: 0.6576 MB / 1.099 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/0.8065, allocations: 139.2 kB / 1.1 GB, free: 56.69 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/0.8066, allocations: 82.95 kB / 1.1 GB, free: 56.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.8086, allocations: 6.052 MB / 1.106 GB, free: 50.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8087, allocations: 1.359 kB / 1.106 GB, free: 50.85 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/0.8137, allocations: 3.63 MB / 1.109 GB, free: 50.34 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.8151, allocations: 0.6723 MB / 1.11 GB, free: 50.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/0.8154, allocations: 64.98 kB / 1.11 GB, free: 50.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.8164, allocations: 88.45 kB / 1.11 GB, free: 50.15 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/0.8168, allocations: 236 kB / 1.11 GB, free: 50.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.817, allocations: 115 kB / 1.11 GB, free: 50.14 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007443/0.8177, allocations: 0.6806 MB / 1.111 GB, free: 49.99 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8177, allocations: 0 / 1.111 GB, free: 49.99 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001859/0.8196, allocations: 1.08 MB / 1.112 GB, free: 49.9 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.0005382/0.8201, allocations: 338.6 kB / 1.112 GB, free: 49.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003064/0.8232, allocations: 2.159 MB / 1.114 GB, free: 49.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8232, allocations: 0 / 1.114 GB, free: 49.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.8251, allocations: 1.783 MB / 1.116 GB, free: 49.14 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/0.8285, allocations: 1.078 MB / 1.117 GB, free: 49.01 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/0.8356, allocations: 5.257 MB / 1.122 GB, free: 47.06 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.8361, allocations: 0.6624 MB / 1.123 GB, free: 46.93 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002553/0.8387, allocations: 1.012 MB / 1.124 GB, free: 46.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/0.8394, allocations: 242.2 kB / 1.124 GB, free: 46.76 MB / 0.9948 GB Notification: Performance of SimCode: time 2.114e-06/0.8394, allocations: 0 / 1.124 GB, free: 46.76 MB / 0.9948 GB Notification: Performance of Templates: time 0.05164/0.891, allocations: 48.22 MB / 1.171 GB, free: 38.62 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.790169999934733]