Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.621/2.621, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001478/0.001478, allocations: 187.9 kB / 0.4902 GB, free: 2.223 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.887/1.887, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.001041/0.001041, allocations: 97.28 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004948, allocations: 8.266 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3944, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.012/5.407, allocations: 1.911 GB / 3.141 GB, free: 20.73 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/5.407, allocations: 90.17 kB / 3.141 GB, free: 20.68 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.413/6.82, allocations: 360.6 MB / 3.493 GB, free: 133.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.084e-06/6.82, allocations: 4 kB / 3.493 GB, free: 133.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.305e-05/6.82, allocations: 8 kB / 3.493 GB, free: 133.1 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001746/6.822, allocations: 0.843 MB / 3.494 GB, free: 132.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/6.822, allocations: 12.03 kB / 3.494 GB, free: 132.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/6.823, allocations: 175.2 kB / 3.494 GB, free: 132 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/6.824, allocations: 385.6 kB / 3.494 GB, free: 131.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/6.824, allocations: 24.66 kB / 3.494 GB, free: 131.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/6.824, allocations: 35.91 kB / 3.494 GB, free: 131.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/6.825, allocations: 374.3 kB / 3.495 GB, free: 131.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/6.825, allocations: 0 / 3.495 GB, free: 131.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/6.825, allocations: 15.95 kB / 3.495 GB, free: 131.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/6.825, allocations: 8 kB / 3.495 GB, free: 131.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/6.825, allocations: 262 kB / 3.495 GB, free: 130.8 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.001861/6.827, allocations: 1.777 MB / 3.497 GB, free: 128.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/6.827, allocations: 198.5 kB / 3.497 GB, free: 128.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009393/6.828, allocations: 0.8661 MB / 3.498 GB, free: 127.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/6.828, allocations: 38.56 kB / 3.498 GB, free: 127.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 2.063e-06/6.828, allocations: 0 / 3.498 GB, free: 127.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.0008826/6.829, allocations: 359.5 kB / 3.498 GB, free: 127.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/6.829, allocations: 55.41 kB / 3.498 GB, free: 127.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/6.83, allocations: 365.1 kB / 3.498 GB, free: 126.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/6.83, allocations: 29.7 kB / 3.498 GB, free: 126.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/6.83, allocations: 220.6 kB / 3.499 GB, free: 126.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/6.83, allocations: 78.89 kB / 3.499 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/6.83, allocations: 8 kB / 3.499 GB, free: 126.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001196/6.83, allocations: 346.8 kB / 3.499 GB, free: 126.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/6.83, allocations: 76.42 kB / 3.499 GB, free: 126.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/6.83, allocations: 138.2 kB / 3.499 GB, free: 125.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/6.831, allocations: 96.84 kB / 3.499 GB, free: 125.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/6.831, allocations: 0 / 3.499 GB, free: 125.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00053/6.831, allocations: 297.7 kB / 3.5 GB, free: 125.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/6.831, allocations: 4 kB / 3.5 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/6.831, allocations: 0 / 3.5 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/6.831, allocations: 4 kB / 3.5 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/6.832, allocations: 59.94 kB / 3.5 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/6.832, allocations: 4 kB / 3.5 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/6.832, allocations: 39.67 kB / 3.5 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/6.832, allocations: 12 kB / 3.5 GB, free: 125.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001851/6.832, allocations: 169.7 kB / 3.5 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/6.832, allocations: 47.48 kB / 3.5 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/6.833, allocations: 281.4 kB / 3.5 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/6.833, allocations: 4 kB / 3.5 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/6.833, allocations: 0 / 3.5 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/6.833, allocations: 7.984 kB / 3.5 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/6.834, allocations: 0.8004 MB / 3.501 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/6.834, allocations: 4 kB / 3.501 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/6.834, allocations: 51.91 kB / 3.501 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/6.834, allocations: 4 kB / 3.501 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/6.834, allocations: 8 kB / 3.501 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/6.834, allocations: 4 kB / 3.501 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/6.834, allocations: 4.188 kB / 3.501 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/6.835, allocations: 0.5837 MB / 3.502 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/6.835, allocations: 136.6 kB / 3.502 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/6.835, allocations: 8 kB / 3.502 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/6.835, allocations: 35.81 kB / 3.502 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/6.836, allocations: 31.81 kB / 3.502 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/6.836, allocations: 7.984 kB / 3.502 GB, free: 123 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002831/6.836, allocations: 299.1 kB / 3.502 GB, free: 122.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.836, allocations: 0 / 3.502 GB, free: 122.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001013/6.837, allocations: 223.9 kB / 3.502 GB, free: 122.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.001856/6.839, allocations: 1.197 MB / 3.504 GB, free: 121.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004648/6.839, allocations: 219.7 kB / 3.504 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/6.839, allocations: 0 / 3.504 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/6.839, allocations: 112.3 kB / 3.504 GB, free: 121 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/6.84, allocations: 215 kB / 3.504 GB, free: 120.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/6.842, allocations: 1.075 MB / 3.505 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/6.842, allocations: 0.8353 MB / 3.506 GB, free: 118.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002947/6.843, allocations: 83.3 kB / 3.506 GB, free: 118.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/6.843, allocations: 39.42 kB / 3.506 GB, free: 118.7 MB / 1.167 GB Notification: Performance of SimCode: time 4.61e-07/6.843, allocations: 4 kB / 3.506 GB, free: 118.7 MB / 1.167 GB Notification: Performance of Templates: time 0.02704/6.87, allocations: 21.79 MB / 3.527 GB, free: 96.98 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches