Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") [: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.092/2.092, allocations: 387.2 MB / 394.5 MB, free: 4.543 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 181.2 kB / 487 MB, free: 11.09 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 0.7819 GB, free: 4.016 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 92.69 kB / 0.9213 GB, free: 5.117 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/8.035e-06, allocations: 0 / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3025, allocations: 142.3 MB / 1.205 GB, free: 14.8 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8395/1.142, allocations: 147.6 MB / 1.349 GB, free: 4.652 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/1.142, allocations: 75.94 kB / 1.349 GB, free: 4.578 MB / 0.8153 GB Notification: Performance of FrontEnd: time 0.000535/1.143, allocations: 93.27 kB / 1.349 GB, free: 4.492 MB / 0.8153 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.143, allocations: 0 / 1.349 GB, free: 4.492 MB / 0.8153 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002414/1.143, allocations: 306.5 kB / 1.35 GB, free: 4.148 MB / 0.8153 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.143, allocations: 12.03 kB / 1.35 GB, free: 4.137 MB / 0.8153 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/1.143, allocations: 0 / 1.35 GB, free: 4.137 MB / 0.8153 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/1.143, allocations: 159.1 kB / 1.35 GB, free: 3.941 MB / 0.8153 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/1.143, allocations: 7.844 kB / 1.35 GB, free: 3.934 MB / 0.8153 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/1.143, allocations: 0 / 1.35 GB, free: 3.934 MB / 0.8153 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.41e-05/1.143, allocations: 7.938 kB / 1.35 GB, free: 3.926 MB / 0.8153 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.801e-05/1.144, allocations: 47.41 kB / 1.35 GB, free: 3.867 MB / 0.8153 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/1.144, allocations: 0 / 1.35 GB, free: 3.867 MB / 0.8153 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/1.144, allocations: 0 / 1.35 GB, free: 3.867 MB / 0.8153 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.144, allocations: 0 / 1.35 GB, free: 3.867 MB / 0.8153 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/1.144, allocations: 131.1 kB / 1.35 GB, free: 3.699 MB / 0.8153 GB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/1.144, allocations: 44.3 kB / 1.35 GB, free: 3.641 MB / 0.8153 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/1.144, allocations: 21.84 kB / 1.35 GB, free: 3.613 MB / 0.8153 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/1.144, allocations: 3.906 kB / 1.35 GB, free: 3.609 MB / 0.8153 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/1.144, allocations: 30.56 kB / 1.35 GB, free: 3.57 MB / 0.8153 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.144, allocations: 0 / 1.35 GB, free: 3.57 MB / 0.8153 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/1.144, allocations: 37.64 kB / 1.35 GB, free: 3.527 MB / 0.8153 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/1.144, allocations: 77.11 kB / 1.35 GB, free: 3.434 MB / 0.8153 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.302e-05/1.144, allocations: 85.06 kB / 1.35 GB, free: 3.344 MB / 0.8153 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.144, allocations: 29.7 kB / 1.35 GB, free: 3.309 MB / 0.8153 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/1.144, allocations: 84.12 kB / 1.351 GB, free: 3.223 MB / 0.8153 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/1.144, allocations: 11.84 kB / 1.351 GB, free: 3.211 MB / 0.8153 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/1.144, allocations: 0 / 1.351 GB, free: 3.211 MB / 0.8153 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.144, allocations: 314.8 kB / 1.351 GB, free: 2.895 MB / 0.8153 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-06/1.144, allocations: 0 / 1.351 GB, free: 2.895 MB / 0.8153 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/1.144, allocations: 13.72 kB / 1.351 GB, free: 2.875 MB / 0.8153 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.756e-05/1.144, allocations: 5.812 kB / 1.351 GB, free: 2.871 MB / 0.8153 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.144, allocations: 0 / 1.351 GB, free: 2.871 MB / 0.8153 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.103e-05/1.144, allocations: 45.62 kB / 1.351 GB, free: 2.82 MB / 0.8153 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/1.144, allocations: 4 kB / 1.351 GB, free: 2.816 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.144, allocations: 4 kB / 1.351 GB, free: 2.812 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/1.145, allocations: 0 / 1.351 GB, free: 2.812 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/1.145, allocations: 7.906 kB / 1.351 GB, free: 2.805 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/1.145, allocations: 0.875 kB / 1.351 GB, free: 2.805 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/1.145, allocations: 0 / 1.351 GB, free: 2.805 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/1.145, allocations: 4.062 kB / 1.351 GB, free: 2.801 MB / 0.8153 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 6.585e-05/1.145, allocations: 105 kB / 1.351 GB, free: 2.691 MB / 0.8153 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/1.145, allocations: 0 / 1.351 GB, free: 2.691 MB / 0.8153 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/1.145, allocations: 48.53 kB / 1.351 GB, free: 2.641 MB / 0.8153 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.145, allocations: 0 / 1.351 GB, free: 2.641 MB / 0.8153 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.145, allocations: 0 / 1.351 GB, free: 2.641 MB / 0.8153 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.145, allocations: 4.062 kB / 1.351 GB, free: 2.637 MB / 0.8153 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/1.145, allocations: 139.3 kB / 1.351 GB, free: 2.469 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.145, allocations: 0 / 1.351 GB, free: 2.469 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/1.145, allocations: 4 kB / 1.351 GB, free: 2.465 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.145, allocations: 3.938 kB / 1.351 GB, free: 2.461 MB / 0.8153 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.145, allocations: 0 / 1.351 GB, free: 2.461 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/1.145, allocations: 0 / 1.351 GB, free: 2.461 MB / 0.8153 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.145, allocations: 7.906 kB / 1.351 GB, free: 2.453 MB / 0.8153 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.333e-05/1.145, allocations: 83.64 kB / 1.351 GB, free: 2.344 MB / 0.8153 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/1.145, allocations: 77.11 kB / 1.351 GB, free: 2.25 MB / 0.8153 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/1.145, allocations: 7.891 kB / 1.351 GB, free: 2.242 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/1.145, allocations: 3.938 kB / 1.351 GB, free: 2.238 MB / 0.8153 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/1.145, allocations: 7.984 kB / 1.351 GB, free: 2.23 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/1.145, allocations: 0 / 1.351 GB, free: 2.23 MB / 0.8153 GB Notification: Performance of sort global known variables: time 2.683e-05/1.145, allocations: 75.28 kB / 1.351 GB, free: 2.156 MB / 0.8153 GB Notification: Performance of remove unused functions: time 0.000184/1.146, allocations: 4.031 kB / 1.351 GB, free: 2.152 MB / 0.8153 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001273/1.146, allocations: 95.25 kB / 1.352 GB, free: 2.047 MB / 0.8153 GB Notification: Performance of simCode: created initialization part: time 6.048e-05/1.146, allocations: 11.94 kB / 1.352 GB, free: 2.035 MB / 0.8153 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.146, allocations: 0 / 1.352 GB, free: 2.035 MB / 0.8153 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/1.146, allocations: 8 kB / 1.352 GB, free: 2.027 MB / 0.8153 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/1.146, allocations: 0 / 1.352 GB, free: 2.027 MB / 0.8153 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001839/1.146, allocations: 53.17 kB / 1.352 GB, free: 1.949 MB / 0.8153 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/1.146, allocations: 0.6841 MB / 1.352 GB, free: 1.238 MB / 0.8153 GB Notification: Performance of SimCode: time 1.693e-06/1.146, allocations: 4 kB / 1.352 GB, free: 1.234 MB / 0.8153 GB Notification: Performance of Templates: time 0.00173/1.148, allocations: 206.8 kB / 1.352 GB, free: 1.035 MB / 0.8153 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches