Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") [: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.081/2.081, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 184.8 kB / 487 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 0.7819 GB, free: 6.832 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009415, allocations: 116.2 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 9.178e-06/9.198e-06, allocations: 4 kB / 1.066 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8918, allocations: 142.3 MB / 1.205 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/1.108, allocations: 147.6 MB / 1.349 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/1.108, allocations: 69.45 kB / 1.349 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.001044/1.109, allocations: 168.5 kB / 1.35 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.109, allocations: 1.125 kB / 1.35 GB, free: 15.45 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003163/1.109, allocations: 318.5 kB / 1.35 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.109, allocations: 8.656 kB / 1.35 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/1.109, allocations: 3.906 kB / 1.35 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/1.11, allocations: 172.2 kB / 1.35 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/1.11, allocations: 0 / 1.35 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/1.11, allocations: 1.156 kB / 1.35 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.441e-05/1.11, allocations: 7.938 kB / 1.35 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.249e-05/1.11, allocations: 34.59 kB / 1.35 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.11, allocations: 3.906 kB / 1.35 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.11, allocations: 1.5 kB / 1.35 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.11, allocations: 0 / 1.35 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/1.11, allocations: 134.7 kB / 1.35 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.128e-05/1.11, allocations: 19.3 kB / 1.35 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/1.11, allocations: 9.484 kB / 1.35 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/1.11, allocations: 1.125 kB / 1.35 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.11, allocations: 34.97 kB / 1.35 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.11, allocations: 10.62 kB / 1.35 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/1.111, allocations: 49.53 kB / 1.35 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/1.111, allocations: 51.41 kB / 1.35 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/1.111, allocations: 105 kB / 1.351 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/1.111, allocations: 25.7 kB / 1.351 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/1.111, allocations: 80.14 kB / 1.351 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/1.111, allocations: 0 / 1.351 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/1.111, allocations: 0 / 1.351 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.111, allocations: 318.1 kB / 1.351 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/1.111, allocations: 11.98 kB / 1.351 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/1.111, allocations: 13.72 kB / 1.351 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.819e-05/1.111, allocations: 4 kB / 1.351 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.111, allocations: 0 / 1.351 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.588e-05/1.111, allocations: 47.19 kB / 1.351 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.111, allocations: 4 kB / 1.351 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.111, allocations: 4 kB / 1.351 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.111, allocations: 1.125 kB / 1.351 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/1.111, allocations: 7.984 kB / 1.351 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.111, allocations: 0 / 1.351 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/1.111, allocations: 1.719 kB / 1.351 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/1.111, allocations: 3.906 kB / 1.351 GB, free: 13.82 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.937e-05/1.111, allocations: 109.5 kB / 1.351 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/1.111, allocations: 0.5312 kB / 1.351 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/1.111, allocations: 53.56 kB / 1.351 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.111, allocations: 3.984 kB / 1.351 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.111, allocations: 5.344 kB / 1.351 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.111, allocations: 4.172 kB / 1.351 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.993e-05/1.112, allocations: 138.2 kB / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.112, allocations: 3.984 kB / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/1.112, allocations: 4 kB / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.112, allocations: 1.344 kB / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.112, allocations: 0 / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.112, allocations: 0 / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.112, allocations: 5.25 kB / 1.351 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001371/1.112, allocations: 77.03 kB / 1.351 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/1.112, allocations: 88.94 kB / 1.351 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/1.112, allocations: 4.031 kB / 1.351 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/1.112, allocations: 0 / 1.351 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/1.112, allocations: 3.938 kB / 1.351 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/1.112, allocations: 1.125 kB / 1.351 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.183e-05/1.112, allocations: 88.66 kB / 1.352 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001852/1.112, allocations: 7.984 kB / 1.352 GB, free: 13.15 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001438/1.112, allocations: 99.34 kB / 1.352 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.846e-05/1.112, allocations: 12 kB / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.112, allocations: 0 / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/1.113, allocations: 11.98 kB / 1.352 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/1.113, allocations: 6.969 kB / 1.352 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/1.113, allocations: 74.86 kB / 1.352 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/1.113, allocations: 0.6852 MB / 1.352 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/1.113, allocations: 4 kB / 1.352 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of Templates: time 0.002004/1.115, allocations: 275.3 kB / 1.353 GB, free: 11.96 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches