Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.Orifice") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.811/1.811, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009816/0.0009816, allocations: 177.3 kB / 490.8 MB, free: 1.93 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.166/1.166, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008687/0.0008687, allocations: 86.47 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.24e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1952, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.95/3.145, allocations: 1.911 GB / 3.122 GB, free: 427.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/3.145, allocations: 88.28 kB / 3.122 GB, free: 427.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.5715/3.717, allocations: 360 MB / 3.474 GB, free: 59.44 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.072e-05/3.717, allocations: 15.98 kB / 3.474 GB, free: 59.42 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.001062/3.718, allocations: 0.7593 MB / 3.475 GB, free: 58.61 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/3.718, allocations: 11.97 kB / 3.475 GB, free: 58.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/3.719, allocations: 187.1 kB / 3.475 GB, free: 58.42 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/3.72, allocations: 408.1 kB / 3.475 GB, free: 57.98 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/3.72, allocations: 15.94 kB / 3.475 GB, free: 57.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/3.72, allocations: 19.91 kB / 3.475 GB, free: 57.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003577/3.72, allocations: 257.2 kB / 3.475 GB, free: 57.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/3.72, allocations: 343.1 kB / 3.476 GB, free: 57.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/3.72, allocations: 4 kB / 3.476 GB, free: 57.33 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/3.72, allocations: 4 kB / 3.476 GB, free: 57.33 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/3.72, allocations: 8 kB / 3.476 GB, free: 57.32 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/3.722, allocations: 1.63 MB / 3.477 GB, free: 55.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/3.722, allocations: 254.5 kB / 3.478 GB, free: 55.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/3.722, allocations: 132.8 kB / 3.478 GB, free: 55.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007135/3.723, allocations: 1.032 MB / 3.479 GB, free: 53.93 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/3.723, allocations: 38.56 kB / 3.479 GB, free: 53.88 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/3.723, allocations: 0 / 3.479 GB, free: 53.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0009306/3.724, allocations: 318.9 kB / 3.479 GB, free: 53.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/3.724, allocations: 55.41 kB / 3.479 GB, free: 53.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/3.724, allocations: 254.1 kB / 3.479 GB, free: 53.25 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/3.724, allocations: 25.7 kB / 3.479 GB, free: 53.21 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/3.724, allocations: 172.3 kB / 3.48 GB, free: 53.04 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/3.724, allocations: 82.66 kB / 3.48 GB, free: 52.96 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/3.724, allocations: 0 / 3.48 GB, free: 52.96 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/3.725, allocations: 346.8 kB / 3.48 GB, free: 52.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/3.725, allocations: 64.45 kB / 3.48 GB, free: 52.55 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/3.725, allocations: 107.7 kB / 3.48 GB, free: 52.42 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/3.725, allocations: 134.6 kB / 3.48 GB, free: 52.29 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/3.725, allocations: 0 / 3.48 GB, free: 52.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004507/3.725, allocations: 277.7 kB / 3.48 GB, free: 52.02 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/3.726, allocations: 12.03 kB / 3.48 GB, free: 52.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/3.726, allocations: 0 / 3.48 GB, free: 52.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/3.726, allocations: 7.844 kB / 3.48 GB, free: 52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/3.726, allocations: 59.91 kB / 3.481 GB, free: 51.94 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/3.726, allocations: 4 kB / 3.481 GB, free: 51.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/3.726, allocations: 27.83 kB / 3.481 GB, free: 51.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/3.726, allocations: 15.98 kB / 3.481 GB, free: 51.89 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 5.464e-05/3.726, allocations: 108.9 kB / 3.481 GB, free: 51.78 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/3.726, allocations: 35.53 kB / 3.481 GB, free: 51.75 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005012/3.727, allocations: 288.5 kB / 3.481 GB, free: 51.46 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/3.727, allocations: 8 kB / 3.481 GB, free: 51.45 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/3.727, allocations: 4 kB / 3.481 GB, free: 51.45 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/3.727, allocations: 3.984 kB / 3.481 GB, free: 51.45 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/3.728, allocations: 0.7939 MB / 3.482 GB, free: 50.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/3.728, allocations: 4 kB / 3.482 GB, free: 50.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/3.728, allocations: 55.91 kB / 3.482 GB, free: 50.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/3.728, allocations: 4 kB / 3.482 GB, free: 50.52 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/3.728, allocations: 4 kB / 3.482 GB, free: 50.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/3.728, allocations: 8.25 kB / 3.482 GB, free: 50.51 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/3.728, allocations: 0 / 3.482 GB, free: 50.51 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005876/3.729, allocations: 0.6099 MB / 3.482 GB, free: 49.81 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/3.729, allocations: 140.6 kB / 3.483 GB, free: 49.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/3.729, allocations: 0 / 3.483 GB, free: 49.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/3.729, allocations: 19.98 kB / 3.483 GB, free: 49.63 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/3.729, allocations: 31.88 kB / 3.483 GB, free: 49.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/3.729, allocations: 8 kB / 3.483 GB, free: 49.59 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001279/3.729, allocations: 204.6 kB / 3.483 GB, free: 49.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005227/3.73, allocations: 199.7 kB / 3.483 GB, free: 49.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (25): * Single equations (assignments): 25 * 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.001235/3.731, allocations: 1.379 MB / 3.484 GB, free: 47.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002479/3.731, allocations: 167.8 kB / 3.485 GB, free: 47.62 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/3.731, allocations: 0 / 3.485 GB, free: 47.62 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/3.731, allocations: 95.86 kB / 3.485 GB, free: 47.53 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/3.732, allocations: 150.3 kB / 3.485 GB, free: 47.39 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/3.733, allocations: 0.6579 MB / 3.485 GB, free: 46.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/3.733, allocations: 0.8726 MB / 3.486 GB, free: 45.78 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/3.733, allocations: 0 / 3.486 GB, free: 45.78 MB / 1.151 GB Notification: Performance of Templates: time 0.01596/3.749, allocations: 12.69 MB / 3.499 GB, free: 33.18 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches