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.452/2.452, allocations: 390.5 MB / 398 MB, free: 10.92 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.001191/0.001191, allocations: 186.6 kB / 491.2 MB, free: 1.559 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.558/1.558, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008856/0.0008857, allocations: 98.5 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.924e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2836, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.623/5.907, allocations: 1.911 GB / 3.123 GB, free: 419.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/5.907, allocations: 84.64 kB / 3.123 GB, free: 419.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6314/6.539, allocations: 356 MB / 3.471 GB, free: 55.76 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.784e-06/6.539, allocations: 0 / 3.471 GB, free: 55.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.145e-05/6.539, allocations: 12 kB / 3.471 GB, free: 55.75 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.001382/6.54, allocations: 0.76 MB / 3.471 GB, free: 54.94 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/6.54, allocations: 8.031 kB / 3.471 GB, free: 54.93 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/6.541, allocations: 171.2 kB / 3.472 GB, free: 54.77 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/6.542, allocations: 388.8 kB / 3.472 GB, free: 54.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/6.542, allocations: 12 kB / 3.472 GB, free: 54.34 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/6.542, allocations: 16 kB / 3.472 GB, free: 54.32 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003859/6.543, allocations: 197.5 kB / 3.472 GB, free: 54.13 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/6.543, allocations: 314.1 kB / 3.473 GB, free: 53.79 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/6.543, allocations: 0 / 3.473 GB, free: 53.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/6.543, allocations: 0 / 3.473 GB, free: 53.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/6.543, allocations: 11.94 kB / 3.473 GB, free: 53.78 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.001485/6.544, allocations: 1.679 MB / 3.474 GB, free: 51.97 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/6.545, allocations: 158.6 kB / 3.474 GB, free: 51.81 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/6.545, allocations: 84.84 kB / 3.474 GB, free: 51.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007309/6.546, allocations: 0.8662 MB / 3.475 GB, free: 50.67 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/6.546, allocations: 38.5 kB / 3.475 GB, free: 50.62 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/6.546, allocations: 0 / 3.475 GB, free: 50.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.0007295/6.546, allocations: 262.7 kB / 3.476 GB, free: 50.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/6.546, allocations: 55.41 kB / 3.476 GB, free: 50.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/6.547, allocations: 258.4 kB / 3.476 GB, free: 50.04 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/6.547, allocations: 29.7 kB / 3.476 GB, free: 50 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/6.547, allocations: 220.5 kB / 3.476 GB, free: 49.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/6.547, allocations: 86.75 kB / 3.476 GB, free: 49.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/6.547, allocations: 0 / 3.476 GB, free: 49.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.707e-05/6.547, allocations: 342.8 kB / 3.476 GB, free: 49.35 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/6.547, allocations: 56.45 kB / 3.477 GB, free: 49.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/6.547, allocations: 114 kB / 3.477 GB, free: 49.16 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/6.547, allocations: 114.3 kB / 3.477 GB, free: 49.05 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/6.547, allocations: 4 kB / 3.477 GB, free: 49.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004249/6.548, allocations: 269.1 kB / 3.477 GB, free: 48.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/6.548, allocations: 7.938 kB / 3.477 GB, free: 48.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/6.548, allocations: 4 kB / 3.477 GB, free: 48.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/6.548, allocations: 0 / 3.477 GB, free: 48.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/6.548, allocations: 59.95 kB / 3.477 GB, free: 48.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/6.548, allocations: 3.984 kB / 3.477 GB, free: 48.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/6.548, allocations: 27.83 kB / 3.477 GB, free: 48.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/6.548, allocations: 12 kB / 3.477 GB, free: 48.67 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.41e-05/6.548, allocations: 112.9 kB / 3.477 GB, free: 48.55 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/6.548, allocations: 39.53 kB / 3.477 GB, free: 48.51 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/6.549, allocations: 267.1 kB / 3.478 GB, free: 48.25 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/6.549, allocations: 4 kB / 3.478 GB, free: 48.25 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/6.549, allocations: 0 / 3.478 GB, free: 48.25 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/6.549, allocations: 0 / 3.478 GB, free: 48.25 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009269/6.55, allocations: 0.7388 MB / 3.478 GB, free: 47.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/6.55, allocations: 4 kB / 3.478 GB, free: 47.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/6.55, allocations: 47.91 kB / 3.478 GB, free: 47.39 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/6.55, allocations: 7.984 kB / 3.478 GB, free: 47.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/6.55, allocations: 4 kB / 3.478 GB, free: 47.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/6.55, allocations: 0 / 3.478 GB, free: 47.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/6.55, allocations: 12.12 kB / 3.478 GB, free: 47.37 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/6.551, allocations: 0.5373 MB / 3.479 GB, free: 46.76 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/6.551, allocations: 136.6 kB / 3.479 GB, free: 46.61 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/6.551, allocations: 3.938 kB / 3.479 GB, free: 46.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/6.551, allocations: 27.97 kB / 3.479 GB, free: 46.58 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/6.551, allocations: 27.86 kB / 3.479 GB, free: 46.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/6.551, allocations: 12 kB / 3.479 GB, free: 46.54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001417/6.552, allocations: 204.6 kB / 3.479 GB, free: 46.34 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/6.552, allocations: 0 / 3.479 GB, free: 46.34 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006036/6.552, allocations: 203.7 kB / 3.479 GB, free: 46.14 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.001432/6.554, allocations: 1.353 MB / 3.481 GB, free: 44.77 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002613/6.554, allocations: 162 kB / 3.481 GB, free: 44.61 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/6.554, allocations: 0 / 3.481 GB, free: 44.61 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/6.554, allocations: 95.92 kB / 3.481 GB, free: 44.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/6.555, allocations: 145.5 kB / 3.481 GB, free: 44.37 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/6.556, allocations: 0.6609 MB / 3.482 GB, free: 43.67 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/6.556, allocations: 0.8344 MB / 3.483 GB, free: 42.81 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000226/6.556, allocations: 71.23 kB / 3.483 GB, free: 42.73 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/6.556, allocations: 31.42 kB / 3.483 GB, free: 42.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/6.556, allocations: 3.938 kB / 3.483 GB, free: 42.7 MB / 1.151 GB Notification: Performance of Templates: time 0.01681/6.573, allocations: 12.26 MB / 3.495 GB, free: 30.52 MB / 1.151 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