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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.778/1.778, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009692/0.0009692, allocations: 185.2 kB / 487 MB, free: 5.402 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.145/1.145, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.0008172, allocations: 96.62 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.681e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2067, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.118/3.325, allocations: 1.91 GB / 3.115 GB, free: 398 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/3.325, allocations: 79.95 kB / 3.115 GB, free: 398 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6038/3.929, allocations: 360 MB / 3.467 GB, free: 30.18 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.787e-05/3.929, allocations: 11.98 kB / 3.467 GB, free: 30.17 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.001224/3.931, allocations: 0.7631 MB / 3.467 GB, free: 29.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/3.931, allocations: 8.031 kB / 3.467 GB, free: 29.35 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/3.932, allocations: 195.1 kB / 3.468 GB, free: 29.16 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/3.933, allocations: 408.1 kB / 3.468 GB, free: 28.71 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/3.933, allocations: 8 kB / 3.468 GB, free: 28.71 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/3.933, allocations: 23.91 kB / 3.468 GB, free: 28.68 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003828/3.933, allocations: 257.2 kB / 3.468 GB, free: 28.43 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/3.934, allocations: 343.1 kB / 3.469 GB, free: 28.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/3.934, allocations: 0 / 3.469 GB, free: 28.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/3.934, allocations: 4 kB / 3.469 GB, free: 28.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/3.934, allocations: 4 kB / 3.469 GB, free: 28.07 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/3.935, allocations: 1.647 MB / 3.47 GB, free: 26.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/3.936, allocations: 250.6 kB / 3.47 GB, free: 26.05 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/3.936, allocations: 128.8 kB / 3.471 GB, free: 25.92 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007708/3.937, allocations: 1.036 MB / 3.472 GB, free: 24.66 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/3.937, allocations: 34.56 kB / 3.472 GB, free: 24.62 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/3.937, allocations: 4 kB / 3.472 GB, free: 24.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0009863/3.938, allocations: 313.5 kB / 3.472 GB, free: 24.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/3.938, allocations: 55.41 kB / 3.472 GB, free: 24.24 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/3.938, allocations: 250.1 kB / 3.472 GB, free: 23.99 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/3.938, allocations: 29.7 kB / 3.472 GB, free: 23.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/3.938, allocations: 172.2 kB / 3.472 GB, free: 23.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/3.938, allocations: 86.67 kB / 3.472 GB, free: 23.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/3.938, allocations: 4 kB / 3.472 GB, free: 23.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/3.938, allocations: 342.8 kB / 3.473 GB, free: 23.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/3.938, allocations: 56.45 kB / 3.473 GB, free: 23.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/3.938, allocations: 117.9 kB / 3.473 GB, free: 23.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/3.939, allocations: 131 kB / 3.473 GB, free: 23.03 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/3.939, allocations: 4 kB / 3.473 GB, free: 23.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004561/3.939, allocations: 279.8 kB / 3.473 GB, free: 22.75 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/3.939, allocations: 4 kB / 3.473 GB, free: 22.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/3.939, allocations: 0 / 3.473 GB, free: 22.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/3.939, allocations: 4 kB / 3.473 GB, free: 22.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/3.939, allocations: 55.91 kB / 3.473 GB, free: 22.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/3.939, allocations: 3.984 kB / 3.473 GB, free: 22.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/3.94, allocations: 35.84 kB / 3.473 GB, free: 22.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/3.94, allocations: 12 kB / 3.473 GB, free: 22.63 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 6.486e-05/3.94, allocations: 108.9 kB / 3.474 GB, free: 22.52 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/3.94, allocations: 39.53 kB / 3.474 GB, free: 22.48 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/3.94, allocations: 292.6 kB / 3.474 GB, free: 22.19 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/3.94, allocations: 4 kB / 3.474 GB, free: 22.18 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/3.94, allocations: 144 / 3.474 GB, free: 22.18 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/3.94, allocations: 11.91 kB / 3.474 GB, free: 22.17 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/3.941, allocations: 0.79 MB / 3.475 GB, free: 21.31 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/3.941, allocations: 0 / 3.475 GB, free: 21.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/3.942, allocations: 56.16 kB / 3.475 GB, free: 21.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/3.942, allocations: 4 kB / 3.475 GB, free: 21.25 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/3.942, allocations: 4 kB / 3.475 GB, free: 21.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/3.942, allocations: 4 kB / 3.475 GB, free: 21.25 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/3.942, allocations: 7.938 kB / 3.475 GB, free: 21.24 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006325/3.942, allocations: 0.6196 MB / 3.475 GB, free: 20.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/3.942, allocations: 132.6 kB / 3.475 GB, free: 20.38 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/3.943, allocations: 4 kB / 3.475 GB, free: 20.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/3.943, allocations: 35.81 kB / 3.475 GB, free: 20.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/3.943, allocations: 19.92 kB / 3.476 GB, free: 20.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/3.943, allocations: 12 kB / 3.476 GB, free: 20.31 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001372/3.943, allocations: 204.6 kB / 3.476 GB, free: 20.12 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005916/3.944, allocations: 203.7 kB / 3.476 GB, free: 19.92 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.001392/3.945, allocations: 1.368 MB / 3.477 GB, free: 18.52 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002583/3.945, allocations: 163.9 kB / 3.477 GB, free: 18.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/3.945, allocations: 0 / 3.477 GB, free: 18.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/3.945, allocations: 104.2 kB / 3.478 GB, free: 18.25 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/3.946, allocations: 149.1 kB / 3.478 GB, free: 18.11 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/3.947, allocations: 0.6696 MB / 3.478 GB, free: 17.39 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/3.948, allocations: 0.8687 MB / 3.479 GB, free: 16.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/3.948, allocations: 4 kB / 3.479 GB, free: 16.49 MB / 1.151 GB Notification: Performance of Templates: time 0.01641/3.964, allocations: 12.68 MB / 3.492 GB, free: 3.898 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