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.553/2.553, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00116/0.00116, allocations: 171.9 kB / 498.1 MB, free: 5.746 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.914/1.914, allocations: 223.2 MB / 0.7949 GB, free: 17.86 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.00132/0.00132, allocations: 102.3 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004547, allocations: 5.75 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4396, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.227/5.667, allocations: 1.911 GB / 3.133 GB, free: 76.44 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/5.667, allocations: 95.02 kB / 3.134 GB, free: 76.39 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.598/7.265, allocations: 360.6 MB / 3.486 GB, free: 192.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/7.265, allocations: 4 kB / 3.486 GB, free: 192.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.132e-05/7.265, allocations: 8 kB / 3.486 GB, free: 192.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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002557/7.267, allocations: 0.8419 MB / 3.486 GB, free: 191.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/7.267, allocations: 12.03 kB / 3.486 GB, free: 191.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/7.269, allocations: 179.1 kB / 3.487 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/7.27, allocations: 381.8 kB / 3.487 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/7.27, allocations: 24.59 kB / 3.487 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/7.27, allocations: 32 kB / 3.487 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/7.271, allocations: 377.9 kB / 3.487 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/7.271, allocations: 3.938 kB / 3.487 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/7.271, allocations: 16 kB / 3.487 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/7.271, allocations: 8 kB / 3.487 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/7.271, allocations: 262 kB / 3.488 GB, free: 190.2 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.002241/7.274, allocations: 1.754 MB / 3.489 GB, free: 188.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/7.274, allocations: 207.2 kB / 3.49 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000853/7.275, allocations: 0.8662 MB / 3.49 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/7.275, allocations: 42.91 kB / 3.491 GB, free: 187 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 2.926e-06/7.275, allocations: 0 / 3.491 GB, free: 187 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.0009802/7.276, allocations: 355 kB / 3.491 GB, free: 186.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/7.276, allocations: 59.41 kB / 3.491 GB, free: 186.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/7.276, allocations: 377 kB / 3.491 GB, free: 186.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/7.276, allocations: 29.7 kB / 3.491 GB, free: 186.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/7.277, allocations: 208.8 kB / 3.491 GB, free: 186 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/7.277, allocations: 86.69 kB / 3.492 GB, free: 185.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/7.277, allocations: 8 kB / 3.492 GB, free: 185.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000108/7.277, allocations: 346.8 kB / 3.492 GB, free: 185.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/7.277, allocations: 84.41 kB / 3.492 GB, free: 185.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/7.277, allocations: 133 kB / 3.492 GB, free: 185.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/7.277, allocations: 97.84 kB / 3.492 GB, free: 185.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/7.277, allocations: 0 / 3.492 GB, free: 185.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005212/7.278, allocations: 289.1 kB / 3.492 GB, free: 184.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/7.278, allocations: 8.031 kB / 3.492 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/7.278, allocations: 0 / 3.492 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/7.278, allocations: 7.953 kB / 3.493 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/7.278, allocations: 51.97 kB / 3.493 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/7.278, allocations: 7.938 kB / 3.493 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/7.279, allocations: 43.67 kB / 3.493 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/7.279, allocations: 15.98 kB / 3.493 GB, free: 184.8 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.000194/7.279, allocations: 153.8 kB / 3.493 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/7.279, allocations: 47.44 kB / 3.493 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/7.28, allocations: 293.3 kB / 3.493 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/7.28, allocations: 11.95 kB / 3.493 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/7.28, allocations: 0 / 3.493 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/7.28, allocations: 0 / 3.493 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/7.281, allocations: 0.8035 MB / 3.494 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/7.281, allocations: 4 kB / 3.494 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/7.281, allocations: 52.09 kB / 3.494 GB, free: 183.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/7.281, allocations: 4.141 kB / 3.494 GB, free: 183.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/7.281, allocations: 11.94 kB / 3.494 GB, free: 183.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/7.281, allocations: 4 kB / 3.494 GB, free: 183.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/7.281, allocations: 3.984 kB / 3.494 GB, free: 183.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/7.282, allocations: 0.5754 MB / 3.495 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/7.282, allocations: 144.5 kB / 3.495 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/7.282, allocations: 8 kB / 3.495 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/7.282, allocations: 31.97 kB / 3.495 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/7.283, allocations: 19.97 kB / 3.495 GB, free: 182.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/7.283, allocations: 8 kB / 3.495 GB, free: 182.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002933/7.283, allocations: 299.1 kB / 3.495 GB, free: 182.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.21e-07/7.283, allocations: 4 kB / 3.495 GB, free: 182.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001102/7.284, allocations: 231.7 kB / 3.495 GB, free: 181.9 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.002052/7.286, allocations: 1.202 MB / 3.496 GB, free: 180.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004744/7.286, allocations: 211.8 kB / 3.497 GB, free: 180.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/7.287, allocations: 0 / 3.497 GB, free: 180.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/7.287, allocations: 119.9 kB / 3.497 GB, free: 180.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/7.288, allocations: 212.5 kB / 3.497 GB, free: 180.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/7.289, allocations: 1.07 MB / 3.498 GB, free: 179 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/7.289, allocations: 0.8353 MB / 3.499 GB, free: 178.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003039/7.29, allocations: 83.34 kB / 3.499 GB, free: 178.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/7.29, allocations: 35.44 kB / 3.499 GB, free: 178.1 MB / 1.167 GB Notification: Performance of SimCode: time 3.01e-07/7.29, allocations: 0 / 3.499 GB, free: 178.1 MB / 1.167 GB Notification: Performance of Templates: time 0.02832/7.318, allocations: 21.79 MB / 3.52 GB, free: 156.4 MB / 1.167 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