Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.035/2.035, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001101/0.001101, allocations: 188.4 kB / 487 MB, free: 5.371 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.305/1.305, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0009386/0.0009386, allocations: 97.16 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.334e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2278, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.603/0.8309, allocations: 148.7 MB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.8312, allocations: 75.62 kB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002109/0.8333, allocations: 0.5977 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.8333, allocations: 5.938 kB / 1.351 GB, free: 15.82 MB / 0.8073 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.000228/0.8336, allocations: 344.4 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.8336, allocations: 10.34 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.8336, allocations: 7.5 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.8338, allocations: 187.8 kB / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.8338, allocations: 4.656 kB / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.8339, allocations: 5.234 kB / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.048e-05/0.8339, allocations: 37.78 kB / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.8341, allocations: 93.44 kB / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8341, allocations: 4 kB / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.8341, allocations: 0 / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8341, allocations: 2.75 kB / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.8345, allocations: 0.6092 MB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.623e-05/0.8346, allocations: 165.1 kB / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.8346, allocations: 84.08 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.8346, allocations: 76.62 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.8347, allocations: 109.8 kB / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.8347, allocations: 0 / 1.353 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.427e-05/0.8347, allocations: 37.59 kB / 1.353 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.8348, allocations: 54.11 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.8349, allocations: 111.9 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.8349, allocations: 25.7 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.8349, allocations: 106.4 kB / 1.353 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.8349, allocations: 1.156 kB / 1.353 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.8349, allocations: 0 / 1.353 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.835, allocations: 322.5 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.835, allocations: 2.281 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.835, allocations: 24.92 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/0.835, allocations: 5.031 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.835, allocations: 3.938 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001104/0.8352, allocations: 56.27 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.8352, allocations: 5.531 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.8352, allocations: 1.375 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.8352, allocations: 1.375 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.8353, allocations: 4.125 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.8353, allocations: 2.547 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.8353, allocations: 1.375 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.8353, allocations: 1.375 kB / 1.354 GB, free: 13.46 MB / 0.8073 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 4.784e-05/0.8354, allocations: 192.2 kB / 1.354 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.8354, allocations: 105.3 kB / 1.354 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.8354, allocations: 115 kB / 1.354 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.8355, allocations: 179.7 kB / 1.354 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/0.8355, allocations: 181.4 kB / 1.354 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.8355, allocations: 184.9 kB / 1.354 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.8357, allocations: 401.8 kB / 1.355 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.8357, allocations: 103.8 kB / 1.355 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.8357, allocations: 104.9 kB / 1.355 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.348e-05/0.8357, allocations: 177.2 kB / 1.355 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.8358, allocations: 179.2 kB / 1.355 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.213e-05/0.8358, allocations: 185.2 kB / 1.356 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-05/0.8358, allocations: 183.3 kB / 1.356 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.45e-05/0.8359, allocations: 310.4 kB / 1.356 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.8359, allocations: 185.9 kB / 1.356 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.836, allocations: 180.7 kB / 1.356 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.836, allocations: 111.6 kB / 1.356 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.8361, allocations: 176.3 kB / 1.357 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.8361, allocations: 104.6 kB / 1.357 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.877e-05/0.8361, allocations: 94 kB / 1.357 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002073/0.8364, allocations: 14.19 kB / 1.357 GB, free: 9.973 MB / 0.8073 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 9.36e-05/0.8365, allocations: 177.4 kB / 1.357 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.717e-05/0.8365, allocations: 17.81 kB / 1.357 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8365, allocations: 0 / 1.357 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.8365, allocations: 4.625 kB / 1.357 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.8368, allocations: 0.519 MB / 1.358 GB, free: 25.28 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.8371, allocations: 167.9 kB / 1.358 GB, free: 25.12 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.8374, allocations: 0.7022 MB / 1.358 GB, free: 24.41 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.8374, allocations: 1.375 kB / 1.358 GB, free: 24.41 MB / 0.823 GB Notification: Performance of Templates: time 0.001742/0.8391, allocations: 266.6 kB / 1.359 GB, free: 24.36 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches