Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.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.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure") [: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 2.151/2.151, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001283/0.001283, allocations: 177.3 kB / 487 MB, free: 5.32 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.533/1.533, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.001032/0.001032, allocations: 92.42 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/7.314e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2796, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.293/4.573, allocations: 1.869 GB / 3.075 GB, free: 432.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/4.573, allocations: 86.98 kB / 3.075 GB, free: 432.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6144/5.188, allocations: 346.1 MB / 3.413 GB, free: 85.95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.369e-05/5.188, allocations: 8 kB / 3.413 GB, free: 85.95 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001225/5.189, allocations: 0.6694 MB / 3.413 GB, free: 85.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/5.189, allocations: 8.031 kB / 3.413 GB, free: 85.22 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/5.189, allocations: 71.48 kB / 3.413 GB, free: 85.15 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/5.19, allocations: 314.2 kB / 3.414 GB, free: 84.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/5.19, allocations: 11.98 kB / 3.414 GB, free: 84.79 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/5.19, allocations: 19.98 kB / 3.414 GB, free: 84.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002502/5.19, allocations: 112.9 kB / 3.414 GB, free: 84.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/5.191, allocations: 251.8 kB / 3.414 GB, free: 84.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/5.191, allocations: 7.922 kB / 3.414 GB, free: 84.37 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/5.191, allocations: 4 kB / 3.414 GB, free: 84.37 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/5.191, allocations: 4 kB / 3.414 GB, free: 84.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/5.192, allocations: 1.673 MB / 3.416 GB, free: 82.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/5.193, allocations: 74.58 kB / 3.416 GB, free: 82.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/5.193, allocations: 64.88 kB / 3.416 GB, free: 82.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/5.193, allocations: 194.1 kB / 3.416 GB, free: 82.21 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/5.193, allocations: 38.47 kB / 3.416 GB, free: 82.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/5.193, allocations: 0 / 3.416 GB, free: 82.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0005133/5.193, allocations: 149.4 kB / 3.416 GB, free: 82.01 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/5.194, allocations: 55.41 kB / 3.416 GB, free: 81.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/5.194, allocations: 227.4 kB / 3.416 GB, free: 81.72 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/5.194, allocations: 25.7 kB / 3.416 GB, free: 81.69 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/5.194, allocations: 175.7 kB / 3.417 GB, free: 81.51 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/5.194, allocations: 43.33 kB / 3.417 GB, free: 81.47 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/5.194, allocations: 0 / 3.417 GB, free: 81.47 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001249/5.194, allocations: 334.8 kB / 3.417 GB, free: 81.13 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/5.194, allocations: 36 kB / 3.417 GB, free: 81.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/5.194, allocations: 188.2 kB / 3.417 GB, free: 80.84 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/5.195, allocations: 71.89 kB / 3.417 GB, free: 80.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/5.195, allocations: 4 kB / 3.417 GB, free: 80.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002757/5.195, allocations: 197 kB / 3.417 GB, free: 80.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/5.195, allocations: 1.399 MB / 3.419 GB, free: 79.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/5.195, allocations: 4 kB / 3.419 GB, free: 79.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/5.195, allocations: 4 kB / 3.419 GB, free: 79.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/5.195, allocations: 55.91 kB / 3.419 GB, free: 79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/5.195, allocations: 4 kB / 3.419 GB, free: 79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/5.196, allocations: 43.72 kB / 3.419 GB, free: 78.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/5.196, allocations: 12 kB / 3.419 GB, free: 78.94 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/5.196, allocations: 4 kB / 3.419 GB, free: 78.94 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001907/5.196, allocations: 143.9 kB / 3.419 GB, free: 78.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/5.196, allocations: 8 kB / 3.419 GB, free: 78.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/5.196, allocations: 7.984 kB / 3.419 GB, free: 78.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/5.196, allocations: 51.92 kB / 3.419 GB, free: 78.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/5.196, allocations: 7.984 kB / 3.419 GB, free: 78.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/5.196, allocations: 31.95 kB / 3.419 GB, free: 78.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/5.196, allocations: 12.28 kB / 3.419 GB, free: 78.68 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.721e-05/5.197, allocations: 112.8 kB / 3.419 GB, free: 78.56 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/5.197, allocations: 27.72 kB / 3.419 GB, free: 78.54 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/5.197, allocations: 135.3 kB / 3.419 GB, free: 78.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/5.197, allocations: 4 kB / 3.42 GB, free: 78.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/5.197, allocations: 4 kB / 3.42 GB, free: 78.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/5.197, allocations: 0 / 3.42 GB, free: 78.39 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/5.198, allocations: 0.5478 MB / 3.42 GB, free: 77.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/5.198, allocations: 4 kB / 3.42 GB, free: 77.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/5.198, allocations: 28.02 kB / 3.42 GB, free: 77.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/5.198, allocations: 7.938 kB / 3.42 GB, free: 77.73 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/5.198, allocations: 4 kB / 3.42 GB, free: 77.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/5.198, allocations: 0 / 3.42 GB, free: 77.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/5.198, allocations: 4 kB / 3.42 GB, free: 77.73 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002065/5.198, allocations: 361.1 kB / 3.42 GB, free: 77.29 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/5.198, allocations: 104.8 kB / 3.421 GB, free: 77.17 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/5.198, allocations: 4 kB / 3.421 GB, free: 77.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/5.198, allocations: 19.98 kB / 3.421 GB, free: 77.15 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/5.198, allocations: 15.89 kB / 3.421 GB, free: 77.13 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/5.198, allocations: 8 kB / 3.421 GB, free: 77.12 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001121/5.198, allocations: 175.1 kB / 3.421 GB, free: 76.96 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008321/5.199, allocations: 227.6 kB / 3.421 GB, free: 76.73 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001734/5.201, allocations: 1.424 MB / 3.422 GB, free: 75.27 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003151/5.201, allocations: 204.9 kB / 3.423 GB, free: 75.07 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/5.201, allocations: 0 / 3.423 GB, free: 75.07 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/5.201, allocations: 53.55 kB / 3.423 GB, free: 75.02 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/5.202, allocations: 92.94 kB / 3.423 GB, free: 74.93 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/5.203, allocations: 350.1 kB / 3.423 GB, free: 74.54 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/5.203, allocations: 0.8147 MB / 3.424 GB, free: 73.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/5.203, allocations: 0 / 3.424 GB, free: 73.7 MB / 1.151 GB Notification: Performance of Templates: time 0.01762/5.221, allocations: 11.78 MB / 3.435 GB, free: 61.97 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches