Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 249.3 MB / 261.8 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 178.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 84.59 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.43e-05/4.437e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2386, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.994/6.233, allocations: 2.183 GB / 3.075 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/6.233, allocations: 87.94 kB / 3.075 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.24/7.473, allocations: 343.3 MB / 3.41 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.142e-06/7.473, allocations: 0 / 3.41 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.206e-05/7.473, allocations: 12 kB / 3.41 GB, free: 183.3 MB / 0.8698 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.001693/7.475, allocations: 0.7632 MB / 3.411 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/7.475, allocations: 11.97 kB / 3.411 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/7.476, allocations: 175.2 kB / 3.411 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/7.477, allocations: 380.9 kB / 3.411 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/7.477, allocations: 24.78 kB / 3.411 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/7.477, allocations: 35.95 kB / 3.411 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/7.478, allocations: 347.6 kB / 3.412 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/7.478, allocations: 4 kB / 3.412 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/7.478, allocations: 16 kB / 3.412 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/7.478, allocations: 8 kB / 3.412 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/7.478, allocations: 226.1 kB / 3.412 GB, free: 181.2 MB / 0.8698 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.001832/7.48, allocations: 1.765 MB / 3.414 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/7.48, allocations: 178.5 kB / 3.414 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/7.48, allocations: 96.83 kB / 3.414 GB, free: 179 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000752/7.481, allocations: 0.8624 MB / 3.415 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/7.481, allocations: 38.5 kB / 3.415 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 1.963e-06/7.481, allocations: 0 / 3.415 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0005754/7.482, allocations: 245.4 kB / 3.415 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/7.482, allocations: 51.41 kB / 3.415 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/7.482, allocations: 367.2 kB / 3.415 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/7.482, allocations: 33.7 kB / 3.415 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/7.482, allocations: 212.3 kB / 3.416 GB, free: 177 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/7.482, allocations: 86.75 kB / 3.416 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/7.482, allocations: 4 kB / 3.416 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/7.482, allocations: 354.8 kB / 3.416 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/7.483, allocations: 68.45 kB / 3.416 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/7.483, allocations: 115.9 kB / 3.416 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/7.483, allocations: 72.91 kB / 3.416 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/7.483, allocations: 0 / 3.416 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003442/7.483, allocations: 258 kB / 3.417 GB, free: 176 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/7.483, allocations: 11.97 kB / 3.417 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/7.483, allocations: 4 kB / 3.417 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/7.483, allocations: 0 / 3.417 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/7.483, allocations: 55.91 kB / 3.417 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/7.483, allocations: 0 / 3.417 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/7.484, allocations: 47.67 kB / 3.417 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/7.484, allocations: 8 kB / 3.417 GB, free: 175.9 MB / 0.8698 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.721e-05/7.484, allocations: 121.6 kB / 3.417 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/7.484, allocations: 39.53 kB / 3.417 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/7.484, allocations: 253.2 kB / 3.417 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/7.484, allocations: 4 kB / 3.417 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/7.484, allocations: 0 / 3.417 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/7.484, allocations: 0 / 3.417 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009219/7.485, allocations: 0.7778 MB / 3.418 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/7.485, allocations: 0 / 3.418 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/7.486, allocations: 56.09 kB / 3.418 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/7.486, allocations: 4 kB / 3.418 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/7.486, allocations: 8 kB / 3.418 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/7.486, allocations: 4 kB / 3.418 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/7.486, allocations: 3.953 kB / 3.418 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/7.486, allocations: 0.5138 MB / 3.418 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/7.486, allocations: 156.4 kB / 3.419 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/7.486, allocations: 8 kB / 3.419 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/7.487, allocations: 28.2 kB / 3.419 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/7.487, allocations: 19.92 kB / 3.419 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/7.487, allocations: 16 kB / 3.419 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002552/7.487, allocations: 289.2 kB / 3.419 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.92e-07/7.487, allocations: 0 / 3.419 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008328/7.488, allocations: 231.8 kB / 3.419 GB, free: 173.2 MB / 0.8698 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.001745/7.49, allocations: 1.187 MB / 3.42 GB, free: 172 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003152/7.49, allocations: 180.4 kB / 3.42 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/7.49, allocations: 4.062 kB / 3.42 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/7.49, allocations: 95.86 kB / 3.42 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/7.491, allocations: 216.4 kB / 3.421 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/7.492, allocations: 0.6869 MB / 3.421 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/7.493, allocations: 0.8391 MB / 3.422 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003147/7.493, allocations: 83.34 kB / 3.422 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/7.493, allocations: 35.44 kB / 3.422 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.9e-07/7.493, allocations: 0 / 3.422 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02967/7.523, allocations: 25.02 MB / 3.447 GB, free: 144.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_Orifice.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches