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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.00107/0.001071, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009703/0.0009704, allocations: 99.89 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.921e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.305, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.24/11.54, allocations: 4.439 GB / 5.658 GB, free: 414.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/11.54, allocations: 84.44 kB / 5.658 GB, free: 414.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.757/15.3, allocations: 0.9882 GB / 6.646 GB, free: 216.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.864e-06/15.3, allocations: 0 / 6.646 GB, free: 216.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001786/15.3, allocations: 64.09 kB / 6.646 GB, free: 216.4 MB / 1.167 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.01207/15.31, allocations: 3.309 MB / 6.65 GB, free: 215.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/15.31, allocations: 7.188 kB / 6.65 GB, free: 215.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005374/15.32, allocations: 0.7604 MB / 6.65 GB, free: 215.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005935/15.32, allocations: 1.994 MB / 6.652 GB, free: 214.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/15.32, allocations: 207 kB / 6.653 GB, free: 214.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/15.32, allocations: 269.5 kB / 6.653 GB, free: 214.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00601/15.33, allocations: 3.099 MB / 6.656 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-05/15.33, allocations: 2.125 kB / 6.656 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/15.33, allocations: 112.6 kB / 6.656 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/15.33, allocations: 123.5 kB / 6.656 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007002/15.34, allocations: 4.397 MB / 6.66 GB, free: 214.7 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.01784/15.35, allocations: 10.82 MB / 6.671 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/15.36, allocations: 4.783 MB / 6.676 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/15.36, allocations: 2.463 MB / 6.678 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009709/15.36, allocations: 0.8603 MB / 6.679 GB, free: 209.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/15.36, allocations: 71.73 kB / 6.679 GB, free: 209.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 5.55e-06/15.36, allocations: 9.875 kB / 6.679 GB, free: 209.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.007706/15.37, allocations: 4.015 MB / 6.683 GB, free: 209.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/15.37, allocations: 96.69 kB / 6.683 GB, free: 209.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/15.37, allocations: 1.108 MB / 6.684 GB, free: 209.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003967/15.37, allocations: 90.86 kB / 6.684 GB, free: 209.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/15.38, allocations: 0.8112 MB / 6.685 GB, free: 209 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/15.38, allocations: 1.331 MB / 6.686 GB, free: 208.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/15.38, allocations: 67.03 kB / 6.686 GB, free: 208.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002053/15.38, allocations: 442.5 kB / 6.687 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/15.38, allocations: 1.549 MB / 6.688 GB, free: 207.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/15.38, allocations: 1.835 MB / 6.69 GB, free: 207.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/15.38, allocations: 1.854 MB / 6.692 GB, free: 207.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/15.38, allocations: 0 / 6.692 GB, free: 207.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006291/15.39, allocations: 4.078 MB / 6.696 GB, free: 207.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/15.39, allocations: 6.656 kB / 6.696 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/15.39, allocations: 7.609 kB / 6.696 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.15e-05/15.39, allocations: 17.09 kB / 6.696 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/15.39, allocations: 0.6792 MB / 6.697 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.337e-05/15.39, allocations: 21.31 kB / 6.697 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/15.4, allocations: 411 kB / 6.697 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/15.4, allocations: 110.2 kB / 6.697 GB, free: 207.2 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.0006455/15.4, allocations: 286.5 kB / 6.697 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006482/15.4, allocations: 232.9 kB / 6.698 GB, free: 207 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007502/15.41, allocations: 4.551 MB / 6.702 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/15.41, allocations: 40.78 kB / 6.702 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/15.41, allocations: 3.5 kB / 6.702 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005483/15.41, allocations: 3.857 MB / 6.706 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/15.43, allocations: 8.205 MB / 6.714 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/15.43, allocations: 0 / 6.714 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/15.43, allocations: 0.6567 MB / 6.714 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005208/15.43, allocations: 135.6 kB / 6.715 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/15.43, allocations: 85.28 kB / 6.715 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/15.43, allocations: 4.54 MB / 6.719 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/15.43, allocations: 0 / 6.719 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/15.45, allocations: 6.653 MB / 6.726 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/15.45, allocations: 0.7638 MB / 6.726 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000777/15.45, allocations: 71.09 kB / 6.726 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003642/15.45, allocations: 212.5 kB / 6.727 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005852/15.45, allocations: 225.3 kB / 6.727 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003919/15.45, allocations: 110.6 kB / 6.727 GB, free: 199.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002423/15.46, allocations: 0.8674 MB / 6.728 GB, free: 199.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/15.46, allocations: 0 / 6.728 GB, free: 199.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006014/15.46, allocations: 1.314 MB / 6.729 GB, free: 198.7 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.004294/15.47, allocations: 2.31 MB / 6.731 GB, free: 197.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007089/15.47, allocations: 3.935 MB / 6.735 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/15.47, allocations: 0 / 6.735 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004154/15.48, allocations: 2.502 MB / 6.738 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005807/15.48, allocations: 0.9813 MB / 6.739 GB, free: 195.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/15.5, allocations: 5.743 MB / 6.744 GB, free: 193.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/15.5, allocations: 1.991 MB / 6.746 GB, free: 192.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004785/15.5, allocations: 1.225 MB / 6.747 GB, free: 192.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/15.5, allocations: 235.5 kB / 6.748 GB, free: 192.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.865e-06/15.5, allocations: 0 / 6.748 GB, free: 192.5 MB / 1.167 GB Notification: Performance of Templates: time 0.1165/15.62, allocations: 75.4 MB / 6.821 GB, free: 146.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches