Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [: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.187/1.187, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.00093/0.00093, allocations: 185.1 kB / 316 MB, free: 3.492 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.05/1.05, allocations: 205.1 MB / 0.5667 GB, free: 15.55 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.0008464/0.0008464, allocations: 102.2 kB / 0.671 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.802e-06/6.822e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1478, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5772/0.725, allocations: 355.8 MB / 1.232 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.7253, allocations: 91.27 kB / 1.232 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02055/0.7459, allocations: 9.004 MB / 1.241 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.7459, allocations: 4 kB / 1.241 GB, free: 7.254 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005727/0.7465, allocations: 468.6 kB / 1.241 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.7466, allocations: 8.031 kB / 1.241 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.7466, allocations: 19.72 kB / 1.241 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.747, allocations: 240.2 kB / 1.242 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.747, allocations: 0 / 1.242 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.7471, allocations: 4 kB / 1.242 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/0.7472, allocations: 76.62 kB / 1.242 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.7474, allocations: 115.2 kB / 1.242 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7474, allocations: 0 / 1.242 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7474, allocations: 3.984 kB / 1.242 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.7474, allocations: 11.94 kB / 1.242 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.7481, allocations: 441.9 kB / 1.242 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.7483, allocations: 128 kB / 1.242 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.7484, allocations: 82 kB / 1.242 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.7484, allocations: 8 kB / 1.242 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.7484, allocations: 33.31 kB / 1.242 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/0.7484, allocations: 6.672 kB / 1.242 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005278/0.749, allocations: 202.7 kB / 1.243 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.749, allocations: 51.41 kB / 1.243 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.7492, allocations: 178.6 kB / 1.243 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7492, allocations: 25.7 kB / 1.243 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.7492, allocations: 102.7 kB / 1.243 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.7493, allocations: 42.55 kB / 1.243 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.7493, allocations: 0 / 1.243 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.7494, allocations: 327.4 kB / 1.243 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.7495, allocations: 51.05 kB / 1.243 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.7496, allocations: 52.28 kB / 1.243 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.7498, allocations: 91.91 kB / 1.244 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7499, allocations: 3.984 kB / 1.244 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000413/0.7503, allocations: 202.6 kB / 1.244 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.7503, allocations: 8 kB / 1.244 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.7503, allocations: 0 / 1.244 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.7503, allocations: 0 / 1.244 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.7506, allocations: 39.95 kB / 1.244 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.7506, allocations: 4 kB / 1.244 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.7508, allocations: 23.83 kB / 1.244 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.7508, allocations: 4 kB / 1.244 GB, free: 4.418 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.503e-05/0.7509, allocations: 108.5 kB / 1.244 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.7509, allocations: 27.7 kB / 1.244 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.751, allocations: 20.41 kB / 1.244 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.751, allocations: 0 / 1.244 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.751, allocations: 11.88 kB / 1.244 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.751, allocations: 4 kB / 1.244 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.7512, allocations: 235.9 kB / 1.244 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7512, allocations: 0 / 1.244 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.7515, allocations: 43.95 kB / 1.244 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7515, allocations: 4 kB / 1.244 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.7515, allocations: 0 / 1.244 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7515, allocations: 0 / 1.244 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7515, allocations: 0 / 1.244 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004622/0.752, allocations: 300.1 kB / 1.245 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.7521, allocations: 111.3 kB / 1.245 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.7521, allocations: 11.91 kB / 1.245 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.7523, allocations: 19.92 kB / 1.245 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.7524, allocations: 11.47 kB / 1.245 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.7524, allocations: 4 kB / 1.245 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.538e-05/0.7525, allocations: 147.6 kB / 1.245 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002447/0.7528, allocations: 36 kB / 1.245 GB, free: 3.379 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0002021/0.753, allocations: 154.2 kB / 1.245 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.7532, allocations: 133.8 kB / 1.245 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.7532, allocations: 0 / 1.245 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.7533, allocations: 68.36 kB / 1.245 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.7535, allocations: 18.55 kB / 1.245 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.754, allocations: 242.4 kB / 1.245 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.7543, allocations: 0.7612 MB / 1.246 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/0.7544, allocations: 0 / 1.246 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of Templates: time 0.2055/0.9598, allocations: 2.326 MB / 1.248 GB, free: 414.8 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches