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") [: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 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.0012/0.0012, allocations: 185.2 kB / 316 MB, free: 3.59 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.535/1.535, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.001003/0.001003, allocations: 86.88 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.385e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.259, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.774/6.034, allocations: 2.183 GB / 3.068 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/6.034, allocations: 83.95 kB / 3.068 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.195/7.229, allocations: 343 MB / 3.403 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.934e-05/7.229, allocations: 15.91 kB / 3.403 GB, free: 204.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.001533/7.231, allocations: 0.7592 MB / 3.404 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/7.231, allocations: 8.031 kB / 3.404 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/7.232, allocations: 191.2 kB / 3.404 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/7.233, allocations: 410.7 kB / 3.404 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/7.233, allocations: 11.94 kB / 3.404 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/7.233, allocations: 20 kB / 3.404 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004151/7.234, allocations: 257.2 kB / 3.404 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/7.234, allocations: 339.2 kB / 3.405 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/7.234, allocations: 3.938 kB / 3.405 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/7.234, allocations: 7.906 kB / 3.405 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/7.234, allocations: 8 kB / 3.405 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/7.236, allocations: 1.621 MB / 3.406 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/7.236, allocations: 250.5 kB / 3.407 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/7.236, allocations: 133.9 kB / 3.407 GB, free: 200 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008999/7.237, allocations: 1.04 MB / 3.408 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/7.237, allocations: 30.56 kB / 3.408 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/7.237, allocations: 4 kB / 3.408 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.001051/7.238, allocations: 325.3 kB / 3.408 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/7.239, allocations: 59.34 kB / 3.408 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/7.239, allocations: 250.1 kB / 3.408 GB, free: 198 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/7.239, allocations: 27.89 kB / 3.408 GB, free: 198 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/7.239, allocations: 164.3 kB / 3.408 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/7.239, allocations: 94.69 kB / 3.409 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/7.239, allocations: 0 / 3.409 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/7.239, allocations: 346.7 kB / 3.409 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/7.239, allocations: 60.45 kB / 3.409 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/7.239, allocations: 102 kB / 3.409 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/7.24, allocations: 132.8 kB / 3.409 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/7.24, allocations: 0 / 3.409 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004827/7.24, allocations: 279.8 kB / 3.409 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/7.24, allocations: 4 kB / 3.409 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/7.24, allocations: 0 / 3.409 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/7.24, allocations: 4 kB / 3.409 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/7.24, allocations: 55.91 kB / 3.41 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/7.24, allocations: 32 / 3.41 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/7.241, allocations: 31.89 kB / 3.41 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/7.241, allocations: 16.03 kB / 3.41 GB, free: 196.7 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 9.224e-05/7.241, allocations: 112.9 kB / 3.41 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/7.241, allocations: 39.61 kB / 3.41 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000592/7.241, allocations: 301.4 kB / 3.41 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/7.241, allocations: 5.859 kB / 3.41 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/7.242, allocations: 4 kB / 3.41 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/7.242, allocations: 3.984 kB / 3.41 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/7.243, allocations: 0.7899 MB / 3.411 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/7.243, allocations: 0 / 3.411 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/7.243, allocations: 64.16 kB / 3.411 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/7.243, allocations: 3.906 kB / 3.411 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/7.243, allocations: 4 kB / 3.411 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/7.243, allocations: 4 kB / 3.411 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/7.243, allocations: 4 kB / 3.411 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007209/7.244, allocations: 0.6054 MB / 3.411 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/7.244, allocations: 136.6 kB / 3.412 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/7.244, allocations: 4 kB / 3.412 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/7.244, allocations: 27.92 kB / 3.412 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/7.244, allocations: 19.88 kB / 3.412 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/7.244, allocations: 12 kB / 3.412 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001631/7.244, allocations: 212.5 kB / 3.412 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007276/7.245, allocations: 199.7 kB / 3.412 GB, free: 194 MB / 0.8698 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.001785/7.247, allocations: 1.358 MB / 3.413 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003148/7.247, allocations: 174 kB / 3.414 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/7.247, allocations: 0 / 3.414 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/7.247, allocations: 100.3 kB / 3.414 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/7.248, allocations: 163.1 kB / 3.414 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/7.25, allocations: 0.6603 MB / 3.414 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/7.25, allocations: 0.8648 MB / 3.415 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/7.25, allocations: 0 / 3.415 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.01986/7.27, allocations: 12.67 MB / 3.428 GB, free: 178.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