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.455/1.455, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 177.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.001195/0.001195, allocations: 92.62 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 8.344 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3052, allocations: 106.3 MB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.477/5.782, allocations: 2.183 GB / 3.083 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/5.783, allocations: 89.61 kB / 3.083 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.268/7.051, allocations: 343.6 MB / 3.419 GB, free: 53.64 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/7.051, allocations: 0 / 3.419 GB, free: 53.64 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.886e-05/7.051, allocations: 16 kB / 3.419 GB, free: 53.62 MB / 0.8855 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.00218/7.053, allocations: 0.853 MB / 3.419 GB, free: 52.72 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/7.054, allocations: 8.031 kB / 3.42 GB, free: 52.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/7.055, allocations: 167.2 kB / 3.42 GB, free: 52.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008145/7.056, allocations: 381.7 kB / 3.42 GB, free: 52.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/7.056, allocations: 24.66 kB / 3.42 GB, free: 52.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/7.056, allocations: 32 kB / 3.42 GB, free: 52.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/7.057, allocations: 373.9 kB / 3.42 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/7.057, allocations: 0 / 3.42 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/7.057, allocations: 12.34 kB / 3.42 GB, free: 51.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/7.057, allocations: 11.95 kB / 3.42 GB, free: 51.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/7.057, allocations: 266 kB / 3.421 GB, free: 51.4 MB / 0.8855 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.001948/7.059, allocations: 1.77 MB / 3.422 GB, free: 49.49 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/7.06, allocations: 198.4 kB / 3.423 GB, free: 49.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/7.06, allocations: 0.8661 MB / 3.423 GB, free: 48.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/7.06, allocations: 38.56 kB / 3.424 GB, free: 48.19 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/7.06, allocations: 0 / 3.424 GB, free: 48.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.0008822/7.061, allocations: 357.8 kB / 3.424 GB, free: 47.83 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/7.061, allocations: 55.52 kB / 3.424 GB, free: 47.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/7.062, allocations: 377.1 kB / 3.424 GB, free: 47.39 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/7.062, allocations: 33.7 kB / 3.424 GB, free: 47.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/7.062, allocations: 212.6 kB / 3.425 GB, free: 47.14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/7.062, allocations: 74.84 kB / 3.425 GB, free: 47.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/7.062, allocations: 8 kB / 3.425 GB, free: 47.06 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/7.062, allocations: 354.8 kB / 3.425 GB, free: 46.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/7.062, allocations: 76.42 kB / 3.425 GB, free: 46.63 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/7.062, allocations: 138.2 kB / 3.425 GB, free: 46.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/7.063, allocations: 100.8 kB / 3.425 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/7.063, allocations: 0 / 3.425 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004758/7.063, allocations: 287.9 kB / 3.425 GB, free: 46.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/7.063, allocations: 7.953 kB / 3.426 GB, free: 46.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/7.063, allocations: 4.016 kB / 3.426 GB, free: 46.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/7.063, allocations: 8 kB / 3.426 GB, free: 46.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/7.063, allocations: 51.92 kB / 3.426 GB, free: 46.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/7.063, allocations: 0 / 3.426 GB, free: 46.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/7.064, allocations: 51.56 kB / 3.426 GB, free: 45.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/7.064, allocations: 16 kB / 3.426 GB, free: 45.95 MB / 0.8855 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.0001653/7.064, allocations: 157.8 kB / 3.426 GB, free: 45.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/7.064, allocations: 43.52 kB / 3.426 GB, free: 45.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/7.065, allocations: 292.5 kB / 3.426 GB, free: 45.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/7.065, allocations: 0 / 3.426 GB, free: 45.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/7.065, allocations: 0 / 3.426 GB, free: 45.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/7.065, allocations: 4 kB / 3.426 GB, free: 45.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/7.066, allocations: 0.8136 MB / 3.427 GB, free: 44.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/7.066, allocations: 0 / 3.427 GB, free: 44.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/7.066, allocations: 43.92 kB / 3.427 GB, free: 44.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/7.066, allocations: 4.188 kB / 3.427 GB, free: 44.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/7.066, allocations: 15.98 kB / 3.427 GB, free: 44.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/7.066, allocations: 4 kB / 3.427 GB, free: 44.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/7.066, allocations: 0 / 3.427 GB, free: 44.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/7.067, allocations: 0.5768 MB / 3.428 GB, free: 43.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/7.067, allocations: 140.6 kB / 3.428 GB, free: 43.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/7.067, allocations: 11.98 kB / 3.428 GB, free: 43.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/7.067, allocations: 23.98 kB / 3.428 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/7.067, allocations: 27.91 kB / 3.428 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/7.067, allocations: 15.89 kB / 3.428 GB, free: 43.62 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002664/7.068, allocations: 299.1 kB / 3.428 GB, free: 43.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/7.068, allocations: 0 / 3.428 GB, free: 43.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008727/7.068, allocations: 219.8 kB / 3.428 GB, free: 43.11 MB / 0.8855 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.001865/7.07, allocations: 1.209 MB / 3.429 GB, free: 41.87 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004571/7.071, allocations: 210.9 kB / 3.43 GB, free: 41.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/7.071, allocations: 0 / 3.43 GB, free: 41.67 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/7.071, allocations: 120.2 kB / 3.43 GB, free: 41.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009279/7.072, allocations: 207 kB / 3.43 GB, free: 41.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/7.074, allocations: 1.082 MB / 3.431 GB, free: 40.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/7.074, allocations: 0.8314 MB / 3.432 GB, free: 39.36 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003153/7.074, allocations: 87.33 kB / 3.432 GB, free: 39.28 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/7.074, allocations: 31.44 kB / 3.432 GB, free: 39.25 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/7.074, allocations: 0 / 3.432 GB, free: 39.25 MB / 0.8855 GB Notification: Performance of Templates: time 0.02629/7.1, allocations: 21.77 MB / 3.453 GB, free: 17.57 MB / 0.8855 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