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.584/1.584, allocations: 249.5 MB / 257 MB, free: 6.992 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.001061/0.001061, allocations: 176.5 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008438/0.0008439, allocations: 88.45 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.833e-05, allocations: 3.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.186/6.393, allocations: 2.183 GB / 3.068 GB, free: 226 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/6.394, allocations: 87.94 kB / 3.068 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.217/7.611, allocations: 339.1 MB / 3.4 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.126e-06/7.611, allocations: 11.95 kB / 3.4 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.73e-05/7.611, allocations: 14.75 kB / 3.4 GB, free: 225.2 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.001374/7.612, allocations: 0.7548 MB / 3.4 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/7.612, allocations: 10 kB / 3.4 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/7.613, allocations: 172.1 kB / 3.4 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/7.614, allocations: 386.5 kB / 3.401 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/7.614, allocations: 8.562 kB / 3.401 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/7.614, allocations: 22 kB / 3.401 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003324/7.614, allocations: 197.7 kB / 3.401 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/7.615, allocations: 312.5 kB / 3.401 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/7.615, allocations: 0 / 3.401 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/7.615, allocations: 0 / 3.401 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/7.615, allocations: 11.25 kB / 3.401 GB, free: 223.8 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.001502/7.616, allocations: 1.682 MB / 3.403 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/7.617, allocations: 159 kB / 3.403 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/7.617, allocations: 85.47 kB / 3.403 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007529/7.618, allocations: 0.8657 MB / 3.404 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/7.618, allocations: 38.5 kB / 3.404 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 1.253e-06/7.618, allocations: 4 kB / 3.404 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0006761/7.618, allocations: 263.9 kB / 3.404 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/7.618, allocations: 55.41 kB / 3.404 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/7.619, allocations: 258.4 kB / 3.405 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/7.619, allocations: 28.11 kB / 3.405 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/7.619, allocations: 220.5 kB / 3.405 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/7.619, allocations: 82.75 kB / 3.405 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/7.619, allocations: 4 kB / 3.405 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/7.619, allocations: 346.8 kB / 3.405 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/7.619, allocations: 56.45 kB / 3.405 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/7.619, allocations: 111.7 kB / 3.405 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/7.619, allocations: 114.5 kB / 3.406 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/7.619, allocations: 8 kB / 3.406 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004269/7.62, allocations: 270.8 kB / 3.406 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/7.62, allocations: 4 kB / 3.406 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/7.62, allocations: 4 kB / 3.406 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/7.62, allocations: 0 / 3.406 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/7.62, allocations: 59.91 kB / 3.406 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/7.62, allocations: 0 / 3.406 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/7.62, allocations: 31.86 kB / 3.406 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/7.62, allocations: 11.98 kB / 3.406 GB, free: 219.1 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.79e-05/7.62, allocations: 112.9 kB / 3.406 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/7.621, allocations: 35.58 kB / 3.406 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/7.621, allocations: 275.2 kB / 3.406 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/7.621, allocations: 8 kB / 3.406 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/7.621, allocations: 0 / 3.406 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/7.621, allocations: 3.172 kB / 3.406 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/7.622, allocations: 0.7381 MB / 3.407 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/7.622, allocations: 4 kB / 3.407 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/7.622, allocations: 51.91 kB / 3.407 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/7.622, allocations: 4 kB / 3.407 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/7.622, allocations: 4 kB / 3.407 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/7.622, allocations: 0 / 3.407 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/7.622, allocations: 7.938 kB / 3.407 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/7.623, allocations: 0.5496 MB / 3.408 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/7.623, allocations: 132.9 kB / 3.408 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/7.623, allocations: 0 / 3.408 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/7.623, allocations: 27.88 kB / 3.408 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/7.623, allocations: 31.84 kB / 3.408 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/7.624, allocations: 12 kB / 3.408 GB, free: 217 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001492/7.624, allocations: 204.6 kB / 3.408 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.624, allocations: 0 / 3.408 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006489/7.624, allocations: 191.7 kB / 3.408 GB, free: 216.6 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.001877/7.626, allocations: 1.351 MB / 3.41 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003126/7.627, allocations: 159.9 kB / 3.41 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/7.627, allocations: 3.938 kB / 3.41 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/7.627, allocations: 97.17 kB / 3.41 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/7.628, allocations: 146.5 kB / 3.41 GB, free: 215 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/7.629, allocations: 0.6567 MB / 3.411 GB, free: 214.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/7.629, allocations: 0.8344 MB / 3.411 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002694/7.63, allocations: 71.22 kB / 3.411 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/7.63, allocations: 31.42 kB / 3.412 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/7.63, allocations: 0 / 3.412 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.01838/7.648, allocations: 12.25 MB / 3.423 GB, free: 201.2 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