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.562/2.562, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001133/0.001133, allocations: 186.7 kB / 0.4902 GB, free: 2.23 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.604/1.604, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.001205/0.001206, allocations: 105 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 9.438 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3369, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.05/12.38, allocations: 4.439 GB / 5.669 GB, free: 220.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/12.38, allocations: 95.03 kB / 5.669 GB, free: 220.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.629/16.01, allocations: 0.9892 GB / 6.658 GB, free: 105.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.955e-06/16.01, allocations: 8 kB / 6.658 GB, free: 105.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003367/16.01, allocations: 64 kB / 6.658 GB, free: 105.6 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.01538/16.03, allocations: 3.685 MB / 6.662 GB, free: 101.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/16.03, allocations: 8.562 kB / 6.662 GB, free: 101.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005909/16.03, allocations: 0.7573 MB / 6.662 GB, free: 101.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007103/16.04, allocations: 2.024 MB / 6.664 GB, free: 99.05 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/16.04, allocations: 205.4 kB / 6.665 GB, free: 98.84 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001357/16.04, allocations: 264 kB / 6.665 GB, free: 98.59 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008038/16.05, allocations: 3.154 MB / 6.668 GB, free: 95.39 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.573e-05/16.05, allocations: 7.906 kB / 6.668 GB, free: 95.38 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/16.05, allocations: 108 kB / 6.668 GB, free: 95.28 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.7e-05/16.05, allocations: 129.4 kB / 6.668 GB, free: 95.15 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006426/16.06, allocations: 4.495 MB / 6.672 GB, free: 90.64 MB / 1.167 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.01636/16.07, allocations: 10.82 MB / 6.683 GB, free: 79.15 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005378/16.08, allocations: 4.848 MB / 6.688 GB, free: 74.29 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008771/16.08, allocations: 0.8564 MB / 6.689 GB, free: 73.26 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/16.08, allocations: 77.7 kB / 6.689 GB, free: 73.18 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 4.91e-06/16.08, allocations: 0 / 6.689 GB, free: 73.18 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.009412/16.09, allocations: 6.071 MB / 6.695 GB, free: 67.01 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/16.09, allocations: 94.48 kB / 6.695 GB, free: 66.91 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/16.09, allocations: 1.116 MB / 6.696 GB, free: 65.79 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003044/16.09, allocations: 97.7 kB / 6.696 GB, free: 65.68 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/16.09, allocations: 0.8172 MB / 6.697 GB, free: 64.86 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/16.09, allocations: 1.332 MB / 6.698 GB, free: 63.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/16.09, allocations: 68 kB / 6.698 GB, free: 63.44 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000176/16.09, allocations: 445 kB / 6.698 GB, free: 63 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/16.1, allocations: 1.595 MB / 6.7 GB, free: 61.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/16.1, allocations: 1.882 MB / 6.702 GB, free: 59.47 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/16.1, allocations: 1.89 MB / 6.704 GB, free: 57.57 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/16.1, allocations: 0 / 6.704 GB, free: 57.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005619/16.11, allocations: 4.164 MB / 6.708 GB, free: 53.39 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/16.11, allocations: 5.25 kB / 6.708 GB, free: 53.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/16.11, allocations: 7.984 kB / 6.708 GB, free: 53.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.799e-05/16.11, allocations: 20.41 kB / 6.708 GB, free: 53.36 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/16.11, allocations: 0.6788 MB / 6.708 GB, free: 52.68 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.716e-05/16.11, allocations: 19.94 kB / 6.708 GB, free: 52.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/16.11, allocations: 405.1 kB / 6.709 GB, free: 52.26 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/16.11, allocations: 112 kB / 6.709 GB, free: 52.15 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002092/16.12, allocations: 0.7274 MB / 6.71 GB, free: 51.41 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006977/16.12, allocations: 241.1 kB / 6.71 GB, free: 51.17 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007792/16.12, allocations: 4.638 MB / 6.714 GB, free: 46.49 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/16.12, allocations: 40 kB / 6.714 GB, free: 46.45 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/16.12, allocations: 0 / 6.714 GB, free: 46.45 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005811/16.13, allocations: 3.943 MB / 6.718 GB, free: 42.45 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005717/16.14, allocations: 3.317 MB / 6.722 GB, free: 39.08 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.334e-05/16.14, allocations: 7.938 kB / 6.722 GB, free: 39.07 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/16.14, allocations: 0.6514 MB / 6.722 GB, free: 38.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/16.14, allocations: 146.5 kB / 6.722 GB, free: 38.27 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003521/16.14, allocations: 83.97 kB / 6.722 GB, free: 38.19 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003243/16.14, allocations: 4.571 MB / 6.727 GB, free: 33.22 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/16.14, allocations: 0 / 6.727 GB, free: 33.22 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009646/16.15, allocations: 6.781 MB / 6.734 GB, free: 26.38 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/16.16, allocations: 0.7705 MB / 6.734 GB, free: 25.59 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009182/16.16, allocations: 71.98 kB / 6.734 GB, free: 25.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/16.16, allocations: 211.6 kB / 6.735 GB, free: 25.31 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004638/16.16, allocations: 230.8 kB / 6.735 GB, free: 25.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000312/16.16, allocations: 108 kB / 6.735 GB, free: 24.98 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001728/16.16, allocations: 0.884 MB / 6.736 GB, free: 24.09 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/16.16, allocations: 0 / 6.736 GB, free: 24.09 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0051/16.17, allocations: 1.307 MB / 6.737 GB, free: 22.79 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 () * 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 (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.003814/16.17, allocations: 2.327 MB / 6.739 GB, free: 20.32 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006556/16.18, allocations: 4.023 MB / 6.743 GB, free: 16.29 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/16.18, allocations: 4 kB / 6.743 GB, free: 16.28 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003692/16.18, allocations: 2.54 MB / 6.746 GB, free: 13.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005223/16.19, allocations: 0.9683 MB / 6.747 GB, free: 12.74 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/16.2, allocations: 7.888 MB / 6.754 GB, free: 4.797 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/16.2, allocations: 1.989 MB / 6.756 GB, free: 2.77 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005539/16.21, allocations: 1.219 MB / 6.757 GB, free: 1.543 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/16.21, allocations: 243.4 kB / 6.758 GB, free: 1.305 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/16.21, allocations: 4 kB / 6.758 GB, free: 1.301 MB / 1.167 GB Notification: Performance of Templates: time 0.8722/17.08, allocations: 69.51 MB / 6.826 GB, free: 212.7 MB / 1.182 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