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.0008852/0.0008852, allocations: 80.75 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.0009185/0.0009185, allocations: 181 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.886/0.886, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.222/2.222, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 178] 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.453e-06/1.453e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.03e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.129/0.129, allocations: 155.9 MB / 0.9908 GB, free: 1.762 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.1411, allocations: 11.06 MB / 1.002 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007902/0.1419, allocations: 75.44 kB / 1.002 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007851/0.1427, allocations: 0.5042 MB / 1.002 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.1453, allocations: 2.203 MB / 1.004 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1467, allocations: 1.2 MB / 1.005 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.004827/0.1515, allocations: 7.016 MB / 1.012 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.1532, allocations: 1.916 MB / 1.014 GB, free: 9.652 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.157, allocations: 3.537 MB / 1.018 GB, free: 6.16 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.1589, allocations: 2.229 MB / 1.02 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002997/0.1592, allocations: 340 kB / 1.02 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009488/0.1601, allocations: 0.6943 MB / 1.021 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.1612, allocations: 1.492 MB / 1.022 GB, free: 1.402 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.1622, allocations: 1.353 MB / 1.024 GB, free: 48 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.1646, allocations: 3.341 MB / 1.027 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1646, allocations: 4 kB / 1.027 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1646, allocations: 0 / 1.027 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.578e-05/0.1647, allocations: 0 / 1.027 GB, free: 12.69 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.004179/0.1688, allocations: 3.552 MB / 1.03 GB, free: 9.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 9.374e-05/0.1689, allocations: 16.84 kB / 1.03 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/0.1753, allocations: 2.259 MB / 1.033 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.177, allocations: 1.222 MB / 1.034 GB, free: 5.531 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.1771, allocations: 225.4 kB / 1.034 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/0.1775, allocations: 279.9 kB / 1.034 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/0.1807, allocations: 2.866 MB / 1.037 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.1808, allocations: 3.984 kB / 1.037 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.181, allocations: 112 kB / 1.037 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.1811, allocations: 193.8 kB / 1.037 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.1836, allocations: 2.031 MB / 1.039 GB, free: 15.67 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.008023/0.1916, allocations: 5.798 MB / 1.045 GB, free: 9.816 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.1946, allocations: 3.482 MB / 1.048 GB, free: 6.289 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.1959, allocations: 1.052 MB / 1.049 GB, free: 5.227 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.196, allocations: 95.05 kB / 1.049 GB, free: 5.133 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.1963, allocations: 77.7 kB / 1.05 GB, free: 5.047 MB / 1.01 GB Notification: Performance of pre-optimization done (n=399): time 5.49e-06/0.1963, allocations: 0 / 1.05 GB, free: 5.047 MB / 1.01 GB Notification: Performance of matching and sorting (n=399): time 0.003724/0.2, allocations: 2.451 MB / 1.052 GB, free: 2.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.2, allocations: 98.55 kB / 1.052 GB, free: 2.461 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.2007, allocations: 1.001 MB / 1.053 GB, free: 1.453 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.201, allocations: 89.7 kB / 1.053 GB, free: 1.359 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.2013, allocations: 0.7988 MB / 1.054 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.3739/0.5751, allocations: 1.389 MB / 1.055 GB, free: 80.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/0.5763, allocations: 0.6169 MB / 1.056 GB, free: 80.86 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.269e-05/0.5764, allocations: 306.3 kB / 1.056 GB, free: 80.56 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.5776, allocations: 0.6826 MB / 1.057 GB, free: 80.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.5789, allocations: 0.967 MB / 1.058 GB, free: 80.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003139/0.5821, allocations: 2.145 MB / 1.06 GB, free: 80.19 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/0.5821, allocations: 0.9688 kB / 1.06 GB, free: 80.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.00398/0.5861, allocations: 2.181 MB / 1.062 GB, free: 80.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.5861, allocations: 8.359 kB / 1.062 GB, free: 80.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.5861, allocations: 5.438 kB / 1.062 GB, free: 80.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/0.5862, allocations: 18.88 kB / 1.062 GB, free: 80.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.5889, allocations: 0.8967 MB / 1.063 GB, free: 80.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.807e-05/0.589, allocations: 22.84 kB / 1.063 GB, free: 80.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.5908, allocations: 434.5 kB / 1.063 GB, free: 79.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.591, allocations: 100.6 kB / 1.063 GB, free: 79.99 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.0007644/0.5918, allocations: 304.4 kB / 1.064 GB, free: 79.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/0.5923, allocations: 280 kB / 1.064 GB, free: 79.88 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.5927, allocations: 408.8 kB / 1.064 GB, free: 79.84 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.5927, allocations: 36.91 kB / 1.064 GB, free: 79.84 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.5928, allocations: 2.031 kB / 1.064 GB, free: 79.84 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002285/0.595, allocations: 1.589 MB / 1.066 GB, free: 79.57 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006058/0.6011, allocations: 4.082 MB / 1.07 GB, free: 79.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6011, allocations: 1.031 kB / 1.07 GB, free: 79.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/0.6035, allocations: 0.779 MB / 1.071 GB, free: 79.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.6039, allocations: 156.9 kB / 1.071 GB, free: 79.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/0.6041, allocations: 86.05 kB / 1.071 GB, free: 79.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.6056, allocations: 4.389 MB / 1.075 GB, free: 74.96 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6056, allocations: 0 / 1.075 GB, free: 74.96 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004615/0.6102, allocations: 3.037 MB / 1.078 GB, free: 74.61 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009299/0.6111, allocations: 0.5119 MB / 1.079 GB, free: 74.48 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/0.6115, allocations: 67.09 kB / 1.079 GB, free: 74.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.613, allocations: 219.5 kB / 1.079 GB, free: 74.47 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/0.6134, allocations: 223.2 kB / 1.079 GB, free: 74.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/0.6136, allocations: 91.83 kB / 1.079 GB, free: 74.47 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004586/0.614, allocations: 482.5 kB / 1.08 GB, free: 74.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.614, allocations: 0.9375 kB / 1.08 GB, free: 74.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001878/0.6159, allocations: 1.212 MB / 1.081 GB, free: 74.38 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.0003951/0.6163, allocations: 204.5 kB / 1.081 GB, free: 74.31 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002587/0.6189, allocations: 2.085 MB / 1.083 GB, free: 74.22 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.552e-05/0.6189, allocations: 23.72 kB / 1.083 GB, free: 74.22 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.6204, allocations: 1.476 MB / 1.085 GB, free: 73.85 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.6229, allocations: 1.16 MB / 1.086 GB, free: 73.76 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/0.6294, allocations: 5.428 MB / 1.091 GB, free: 71.95 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.6299, allocations: 0.6496 MB / 1.092 GB, free: 71.82 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002586/0.6325, allocations: 0.6341 MB / 1.092 GB, free: 71.77 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/0.6349, allocations: 0.9036 MB / 1.093 GB, free: 71.68 MB / 1.01 GB Notification: Performance of SimCode: time 1.022e-06/0.635, allocations: 2.406 kB / 1.093 GB, free: 71.68 MB / 1.01 GB Notification: Performance of Templates: time 0.05551/0.6905, allocations: 65.97 MB / 1.158 GB, free: 38.55 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 -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.130086862016469]