Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_9_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_9_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001131/0.001131, allocations: 191.7 kB / 487.4 MB, free: 5.055 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.439/1.439, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009019/0.0009021, allocations: 98.52 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.365e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2684, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.469/5.738, allocations: 1.91 GB / 3.116 GB, free: 354.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/5.738, allocations: 86.33 kB / 3.116 GB, free: 354.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6413/6.379, allocations: 356 MB / 3.464 GB, free: 37.93 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.264e-06/6.379, allocations: 0 / 3.464 GB, free: 37.93 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.268e-05/6.38, allocations: 8 kB / 3.464 GB, free: 37.92 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001539/6.381, allocations: 0.7678 MB / 3.464 GB, free: 37.11 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/6.381, allocations: 8.031 kB / 3.464 GB, free: 37.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/6.382, allocations: 175.2 kB / 3.465 GB, free: 36.93 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/6.383, allocations: 376.9 kB / 3.465 GB, free: 36.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/6.383, allocations: 15.95 kB / 3.465 GB, free: 36.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/6.383, allocations: 24 kB / 3.465 GB, free: 36.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003074/6.383, allocations: 193.5 kB / 3.465 GB, free: 36.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/6.384, allocations: 310.1 kB / 3.465 GB, free: 35.96 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/6.384, allocations: 0 / 3.465 GB, free: 35.96 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/6.384, allocations: 0 / 3.465 GB, free: 35.96 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/6.384, allocations: 15.94 kB / 3.465 GB, free: 35.95 MB / 1.151 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.001431/6.385, allocations: 1.671 MB / 3.467 GB, free: 34.15 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/6.385, allocations: 158.4 kB / 3.467 GB, free: 33.98 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/6.386, allocations: 96.77 kB / 3.467 GB, free: 33.89 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000706/6.386, allocations: 0.8662 MB / 3.468 GB, free: 32.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/6.386, allocations: 34.56 kB / 3.468 GB, free: 32.79 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 1.402e-06/6.386, allocations: 0 / 3.468 GB, free: 32.79 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.000673/6.387, allocations: 259.7 kB / 3.468 GB, free: 32.54 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/6.387, allocations: 55.41 kB / 3.468 GB, free: 32.47 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/6.387, allocations: 266.3 kB / 3.469 GB, free: 32.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/6.387, allocations: 29.7 kB / 3.469 GB, free: 32.16 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/6.387, allocations: 216.6 kB / 3.469 GB, free: 31.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/6.387, allocations: 82.77 kB / 3.469 GB, free: 31.86 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/6.387, allocations: 0 / 3.469 GB, free: 31.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.859e-05/6.388, allocations: 346.8 kB / 3.469 GB, free: 31.52 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/6.388, allocations: 56.45 kB / 3.469 GB, free: 31.46 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/6.388, allocations: 114 kB / 3.47 GB, free: 31.33 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/6.388, allocations: 118.9 kB / 3.47 GB, free: 31.21 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/6.388, allocations: 0 / 3.47 GB, free: 31.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004637/6.388, allocations: 267.9 kB / 3.47 GB, free: 30.95 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/6.389, allocations: 4 kB / 3.47 GB, free: 30.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/6.389, allocations: 0 / 3.47 GB, free: 30.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/6.389, allocations: 12.12 kB / 3.47 GB, free: 30.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/6.389, allocations: 55.95 kB / 3.47 GB, free: 30.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/6.389, allocations: 0 / 3.47 GB, free: 30.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/6.389, allocations: 31.81 kB / 3.47 GB, free: 30.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/6.389, allocations: 15.98 kB / 3.47 GB, free: 30.83 MB / 1.151 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 () * 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 7.199e-05/6.389, allocations: 112.9 kB / 3.47 GB, free: 30.71 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/6.389, allocations: 43.58 kB / 3.47 GB, free: 30.67 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/6.39, allocations: 268.6 kB / 3.47 GB, free: 30.41 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/6.39, allocations: 0 / 3.47 GB, free: 30.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/6.39, allocations: 4 kB / 3.47 GB, free: 30.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/6.39, allocations: 0 / 3.47 GB, free: 30.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009704/6.391, allocations: 0.7454 MB / 3.471 GB, free: 29.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/6.391, allocations: 4 kB / 3.471 GB, free: 29.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/6.391, allocations: 47.97 kB / 3.471 GB, free: 29.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/6.391, allocations: 4 kB / 3.471 GB, free: 29.54 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/6.391, allocations: 4.188 kB / 3.471 GB, free: 29.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/6.391, allocations: 7.938 kB / 3.471 GB, free: 29.53 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/6.391, allocations: 4 kB / 3.471 GB, free: 29.52 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/6.392, allocations: 0.5284 MB / 3.472 GB, free: 28.93 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/6.392, allocations: 148.5 kB / 3.472 GB, free: 28.76 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/6.392, allocations: 0 / 3.472 GB, free: 28.76 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/6.392, allocations: 27.97 kB / 3.472 GB, free: 28.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/6.392, allocations: 15.94 kB / 3.472 GB, free: 28.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/6.392, allocations: 19.98 kB / 3.472 GB, free: 28.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001585/6.392, allocations: 204.6 kB / 3.472 GB, free: 28.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.392, allocations: 4 kB / 3.472 GB, free: 28.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006673/6.393, allocations: 195.7 kB / 3.472 GB, free: 28.3 MB / 1.151 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 () * 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.001615/6.395, allocations: 1.345 MB / 3.474 GB, free: 26.92 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002632/6.395, allocations: 161.4 kB / 3.474 GB, free: 26.76 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/6.395, allocations: 4.062 kB / 3.474 GB, free: 26.76 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/6.395, allocations: 91.86 kB / 3.474 GB, free: 26.67 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/6.396, allocations: 153.7 kB / 3.474 GB, free: 26.52 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/6.397, allocations: 0.657 MB / 3.475 GB, free: 25.83 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/6.397, allocations: 0.8382 MB / 3.475 GB, free: 24.96 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002404/6.397, allocations: 71.23 kB / 3.476 GB, free: 24.89 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/6.398, allocations: 31.44 kB / 3.476 GB, free: 24.86 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/6.398, allocations: 0 / 3.476 GB, free: 24.86 MB / 1.151 GB Notification: Performance of Templates: time 0.01735/6.415, allocations: 12.27 MB / 3.488 GB, free: 12.67 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches