Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 180.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.000886, allocations: 87.97 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.718e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2944, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.22/11.51, allocations: 4.438 GB / 5.644 GB, free: 119.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/11.51, allocations: 91.89 kB / 5.644 GB, free: 119.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.631/15.14, allocations: 0.9782 GB / 6.622 GB, free: 8.695 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.915e-06/15.14, allocations: 0 / 6.622 GB, free: 8.695 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004546/15.14, allocations: 76.08 kB / 6.622 GB, free: 8.621 MB / 1.151 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.01618/15.16, allocations: 3.303 MB / 6.625 GB, free: 5.262 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/15.16, allocations: 8.031 kB / 6.625 GB, free: 5.254 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006479/15.17, allocations: 0.7495 MB / 6.626 GB, free: 4.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007651/15.17, allocations: 2.001 MB / 6.628 GB, free: 2.441 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/15.17, allocations: 88 kB / 6.628 GB, free: 2.355 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/15.18, allocations: 165.3 kB / 6.628 GB, free: 2.195 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01368/15.19, allocations: 4.141 MB / 6.632 GB, free: 14.04 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/15.2, allocations: 2.714 MB / 6.635 GB, free: 11.29 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002184/15.2, allocations: 0 / 6.635 GB, free: 11.29 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/15.2, allocations: 3.953 kB / 6.635 GB, free: 11.29 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/15.2, allocations: 121.4 kB / 6.635 GB, free: 11.17 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.03023/15.23, allocations: 10.38 MB / 6.645 GB, free: 132 kB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 1.115/16.35, allocations: 4.768 MB / 6.65 GB, free: 208.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005674/16.36, allocations: 2.342 MB / 6.652 GB, free: 208.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/16.36, allocations: 0.8566 MB / 6.653 GB, free: 208 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.089e-05/16.36, allocations: 80.55 kB / 6.653 GB, free: 208 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 8.055e-06/16.36, allocations: 3.906 kB / 6.653 GB, free: 208 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.01433/16.37, allocations: 4.137 MB / 6.657 GB, free: 207.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/16.37, allocations: 95.86 kB / 6.657 GB, free: 207.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/16.37, allocations: 1.027 MB / 6.658 GB, free: 207.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003439/16.37, allocations: 27.05 kB / 6.658 GB, free: 207.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007518/16.37, allocations: 0.7974 MB / 6.659 GB, free: 207.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/16.38, allocations: 1.278 MB / 6.66 GB, free: 206.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/16.38, allocations: 1.25 kB / 6.66 GB, free: 206.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002731/16.38, allocations: 439.8 kB / 6.661 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/16.38, allocations: 1.483 MB / 6.662 GB, free: 206.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/16.38, allocations: 1.751 MB / 6.664 GB, free: 206.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/16.39, allocations: 2.122 MB / 6.666 GB, free: 206.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/16.39, allocations: 3.219 kB / 6.666 GB, free: 206.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008481/16.4, allocations: 4.172 MB / 6.67 GB, free: 205.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/16.4, allocations: 8.594 kB / 6.67 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/16.4, allocations: 3.188 kB / 6.67 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.247e-05/16.4, allocations: 21.91 kB / 6.67 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/16.4, allocations: 0.6816 MB / 6.671 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.348e-05/16.4, allocations: 17.16 kB / 6.671 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/16.4, allocations: 342.6 kB / 6.671 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/16.4, allocations: 111.5 kB / 6.671 GB, free: 205.9 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005916/16.4, allocations: 154.6 kB / 6.671 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006413/16.4, allocations: 236.7 kB / 6.672 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/16.42, allocations: 4.581 MB / 6.676 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-05/16.42, allocations: 36.28 kB / 6.676 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/16.42, allocations: 1.219 kB / 6.676 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008763/16.42, allocations: 3.986 MB / 6.68 GB, free: 205.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/16.44, allocations: 7.941 MB / 6.688 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/16.44, allocations: 0 / 6.688 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003605/16.45, allocations: 0.6595 MB / 6.688 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006024/16.45, allocations: 140.3 kB / 6.689 GB, free: 204.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/16.45, allocations: 34.17 kB / 6.689 GB, free: 204.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/16.45, allocations: 4.354 MB / 6.693 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/16.45, allocations: 0.8438 kB / 6.693 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/16.47, allocations: 6.68 MB / 6.699 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003084/16.47, allocations: 0.7669 MB / 6.7 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009968/16.47, allocations: 3.75 kB / 6.7 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003751/16.48, allocations: 152.3 kB / 6.7 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006673/16.48, allocations: 225 kB / 6.7 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000418/16.48, allocations: 120.2 kB / 6.701 GB, free: 200.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002639/16.48, allocations: 0.7923 MB / 6.701 GB, free: 200.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.81e-07/16.48, allocations: 0 / 6.701 GB, free: 200.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008036/16.49, allocations: 1.137 MB / 6.702 GB, free: 200 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005145/16.49, allocations: 2.533 MB / 6.705 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008999/16.5, allocations: 3.756 MB / 6.709 GB, free: 199.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/16.5, allocations: 0 / 6.709 GB, free: 199.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005359/16.51, allocations: 2.397 MB / 6.711 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007865/16.52, allocations: 0.8961 MB / 6.712 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/16.53, allocations: 5.58 MB / 6.717 GB, free: 197.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003387/16.54, allocations: 1.985 MB / 6.719 GB, free: 197.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007811/16.54, allocations: 1.224 MB / 6.72 GB, free: 197.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/16.55, allocations: 242.9 kB / 6.721 GB, free: 197.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.823e-06/16.55, allocations: 0 / 6.721 GB, free: 197.2 MB / 1.167 GB Notification: Performance of Templates: time 0.1194/16.67, allocations: 54.19 MB / 6.774 GB, free: 196.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches