Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [: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 10.0.0-master/package.mo): time 2.032/2.032, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001054/0.001054, allocations: 169.3 kB / 490.8 MB, free: 1.949 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.452/1.452, allocations: 221.4 MB / 0.7863 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009187, allocations: 91.55 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.115e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7243/0.987, allocations: 149.5 MB / 1.358 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.9873, allocations: 76.14 kB / 1.358 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.002274/0.9896, allocations: 0.6029 MB / 1.358 GB, free: 17.45 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.9896, allocations: 2.25 kB / 1.358 GB, free: 17.45 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002993/0.9899, allocations: 341.9 kB / 1.359 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.99, allocations: 9.031 kB / 1.359 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.99, allocations: 8.484 kB / 1.359 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.9902, allocations: 188.9 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.9902, allocations: 5.469 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.9902, allocations: 7.984 kB / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.248e-05/0.9903, allocations: 35.38 kB / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.9904, allocations: 93.56 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.9904, allocations: 0 / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.9905, allocations: 1.188 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9905, allocations: 1.344 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.991, allocations: 0.6079 MB / 1.36 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.9911, allocations: 167 kB / 1.36 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.9911, allocations: 81.14 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.9912, allocations: 79.83 kB / 1.36 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.9912, allocations: 111.6 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.9912, allocations: 0 / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.183e-05/0.9913, allocations: 33.72 kB / 1.36 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.9913, allocations: 51.41 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.9914, allocations: 117 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.9914, allocations: 25.7 kB / 1.36 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.9915, allocations: 112.8 kB / 1.36 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.9915, allocations: 0 / 1.36 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.9915, allocations: 0 / 1.36 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.9916, allocations: 313.9 kB / 1.361 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.9916, allocations: 5.688 kB / 1.361 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.9917, allocations: 19.17 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.9917, allocations: 10.3 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.9917, allocations: 1.578 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001071/0.9918, allocations: 53.84 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.9918, allocations: 5.531 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9918, allocations: 1.734 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.9919, allocations: 1.906 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.9919, allocations: 8.953 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.9919, allocations: 5.766 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.992, allocations: 4.906 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.992, allocations: 2 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.159e-05/0.9921, allocations: 182 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.9921, allocations: 103.9 kB / 1.361 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.9922, allocations: 115.8 kB / 1.361 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/0.9922, allocations: 186.2 kB / 1.361 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.356e-05/0.9923, allocations: 181.9 kB / 1.361 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.696e-05/0.9923, allocations: 178.1 kB / 1.362 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.9925, allocations: 404.6 kB / 1.362 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/0.9926, allocations: 102.8 kB / 1.362 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.9926, allocations: 102.8 kB / 1.362 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.894e-05/0.9927, allocations: 182.1 kB / 1.362 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.9927, allocations: 182.7 kB / 1.363 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.977e-05/0.9928, allocations: 183.4 kB / 1.363 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.099e-05/0.9928, allocations: 185.6 kB / 1.363 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001078/0.9929, allocations: 307.8 kB / 1.363 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.993, allocations: 192.1 kB / 1.363 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.9931, allocations: 182 kB / 1.364 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.9932, allocations: 103.1 kB / 1.364 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.9932, allocations: 181.8 kB / 1.364 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.9932, allocations: 102.8 kB / 1.364 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.356e-05/0.9933, allocations: 94.56 kB / 1.364 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002165/0.9935, allocations: 18.69 kB / 1.364 GB, free: 27.59 MB / 0.8386 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 (0): * Single equations (assignments): 0 * 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.0001235/0.9937, allocations: 171.3 kB / 1.364 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.979e-05/0.9937, allocations: 13.19 kB / 1.364 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.9937, allocations: 1.312 kB / 1.364 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.9937, allocations: 0 / 1.364 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.994, allocations: 0.5254 MB / 1.365 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.9943, allocations: 157 kB / 1.365 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.9946, allocations: 0.7096 MB / 1.366 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/0.9946, allocations: 0 / 1.366 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.001802/0.9964, allocations: 269.3 kB / 1.366 GB, free: 25.99 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches