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.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001007/0.001007, allocations: 173 kB / 492.3 MB, free: 0.6133 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.386/1.386, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.000844/0.000844, allocations: 108 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.376e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2658, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.209/5.474, allocations: 1.911 GB / 3.123 GB, free: 420.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/5.475, allocations: 88.52 kB / 3.123 GB, free: 420.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6252/6.1, allocations: 360.2 MB / 3.475 GB, free: 52.45 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.913e-06/6.1, allocations: 7.938 kB / 3.475 GB, free: 52.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.318e-05/6.1, allocations: 15.98 kB / 3.475 GB, free: 52.43 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.001251/6.101, allocations: 0.76 MB / 3.476 GB, free: 51.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/6.101, allocations: 12.03 kB / 3.476 GB, free: 51.61 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/6.102, allocations: 175.2 kB / 3.476 GB, free: 51.44 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/6.103, allocations: 376.9 kB / 3.476 GB, free: 51.03 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/6.103, allocations: 28.73 kB / 3.476 GB, free: 51 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/6.103, allocations: 32 kB / 3.476 GB, free: 50.97 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/6.104, allocations: 355.6 kB / 3.476 GB, free: 50.59 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/6.104, allocations: 0 / 3.476 GB, free: 50.59 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/6.104, allocations: 12 kB / 3.476 GB, free: 50.58 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/6.104, allocations: 8 kB / 3.476 GB, free: 50.57 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/6.104, allocations: 230 kB / 3.477 GB, free: 50.35 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.001537/6.106, allocations: 1.765 MB / 3.478 GB, free: 48.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/6.106, allocations: 170.4 kB / 3.479 GB, free: 48.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/6.106, allocations: 100.8 kB / 3.479 GB, free: 48.17 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/6.107, allocations: 0.8662 MB / 3.48 GB, free: 47.12 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/6.107, allocations: 30.56 kB / 3.48 GB, free: 47.08 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/6.107, allocations: 0 / 3.48 GB, free: 47.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.0005081/6.107, allocations: 247.9 kB / 3.48 GB, free: 46.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/6.107, allocations: 55.41 kB / 3.48 GB, free: 46.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/6.108, allocations: 367.2 kB / 3.48 GB, free: 46.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/6.108, allocations: 33.7 kB / 3.48 GB, free: 46.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/6.108, allocations: 208.5 kB / 3.48 GB, free: 46.16 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/6.108, allocations: 86.73 kB / 3.481 GB, free: 46.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/6.108, allocations: 8 kB / 3.481 GB, free: 46.06 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/6.108, allocations: 350.8 kB / 3.481 GB, free: 45.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/6.108, allocations: 60.45 kB / 3.481 GB, free: 45.65 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/6.108, allocations: 123.7 kB / 3.481 GB, free: 45.51 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/6.108, allocations: 77.97 kB / 3.481 GB, free: 45.44 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/6.108, allocations: 0 / 3.481 GB, free: 45.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003099/6.109, allocations: 253.4 kB / 3.481 GB, free: 45.19 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/6.109, allocations: 5.094 kB / 3.481 GB, free: 45.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/6.109, allocations: 0 / 3.481 GB, free: 45.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/6.109, allocations: 4 kB / 3.481 GB, free: 45.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/6.109, allocations: 55.94 kB / 3.481 GB, free: 45.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/6.109, allocations: 4 kB / 3.481 GB, free: 45.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/6.109, allocations: 39.67 kB / 3.481 GB, free: 45.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/6.109, allocations: 16.11 kB / 3.481 GB, free: 45.07 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.077e-05/6.109, allocations: 130.5 kB / 3.482 GB, free: 44.93 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/6.109, allocations: 43.44 kB / 3.482 GB, free: 44.89 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/6.11, allocations: 249.3 kB / 3.482 GB, free: 44.64 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/6.11, allocations: 11.92 kB / 3.482 GB, free: 44.63 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/6.11, allocations: 0 / 3.482 GB, free: 44.63 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/6.11, allocations: 0 / 3.482 GB, free: 44.63 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008719/6.111, allocations: 0.7683 MB / 3.483 GB, free: 43.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/6.111, allocations: 4 kB / 3.483 GB, free: 43.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/6.111, allocations: 51.91 kB / 3.483 GB, free: 43.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/6.111, allocations: 4 kB / 3.483 GB, free: 43.73 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/6.111, allocations: 8.188 kB / 3.483 GB, free: 43.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/6.111, allocations: 3.953 kB / 3.483 GB, free: 43.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/6.111, allocations: 4 kB / 3.483 GB, free: 43.71 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/6.111, allocations: 0.5183 MB / 3.483 GB, free: 43.12 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/6.111, allocations: 144.5 kB / 3.483 GB, free: 42.96 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/6.112, allocations: 8 kB / 3.483 GB, free: 42.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/6.112, allocations: 31.92 kB / 3.483 GB, free: 42.93 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/6.112, allocations: 23.91 kB / 3.483 GB, free: 42.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/6.112, allocations: 8 kB / 3.483 GB, free: 42.89 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002533/6.112, allocations: 297.2 kB / 3.484 GB, free: 42.61 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/6.112, allocations: 0 / 3.484 GB, free: 42.61 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008013/6.113, allocations: 231.8 kB / 3.484 GB, free: 42.38 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.001418/6.114, allocations: 1.201 MB / 3.485 GB, free: 41.15 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003027/6.115, allocations: 166.5 kB / 3.485 GB, free: 40.99 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/6.115, allocations: 4 kB / 3.485 GB, free: 40.98 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/6.115, allocations: 95.92 kB / 3.485 GB, free: 40.89 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009647/6.116, allocations: 213.6 kB / 3.486 GB, free: 40.68 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/6.117, allocations: 0.6895 MB / 3.486 GB, free: 39.95 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/6.117, allocations: 0.8353 MB / 3.487 GB, free: 39.09 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002772/6.117, allocations: 83.33 kB / 3.487 GB, free: 39 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/6.118, allocations: 35.44 kB / 3.487 GB, free: 38.97 MB / 1.151 GB Notification: Performance of SimCode: time 5.82e-07/6.118, allocations: 3.938 kB / 3.487 GB, free: 38.96 MB / 1.151 GB Notification: Performance of Templates: time 0.03005/6.148, allocations: 25.03 MB / 3.512 GB, free: 14.01 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