Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [: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.233/1.233, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.0009977/0.0009977, allocations: 185.2 kB / 316 MB, free: 3.555 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.037/1.037, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008069/0.0008069, allocations: 100.5 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.711e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1376, allocations: 106.3 MB / 0.8845 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.415/3.553, allocations: 2.172 GB / 3.056 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/3.553, allocations: 67.97 kB / 3.056 GB, free: 234 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.06018/3.613, allocations: 36.04 MB / 3.092 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.522e-06/3.613, allocations: 0 / 3.092 GB, free: 197.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002503/3.614, allocations: 342.3 kB / 3.092 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/3.614, allocations: 8.031 kB / 3.092 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/3.614, allocations: 27.95 kB / 3.092 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/3.614, allocations: 163 kB / 3.092 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/3.614, allocations: 29.7 kB / 3.092 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/3.614, allocations: 7.938 kB / 3.092 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.394e-05/3.614, allocations: 19.98 kB / 3.092 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.879e-05/3.614, allocations: 45.69 kB / 3.092 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/3.614, allocations: 0 / 3.092 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/3.614, allocations: 0 / 3.092 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/3.614, allocations: 0 / 3.092 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/3.615, allocations: 338.5 kB / 3.092 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.699e-05/3.615, allocations: 18.58 kB / 3.092 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/3.615, allocations: 12.78 kB / 3.092 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/3.615, allocations: 4.062 kB / 3.092 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/3.615, allocations: 30.56 kB / 3.093 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/3.615, allocations: 0 / 3.093 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001768/3.615, allocations: 45.59 kB / 3.093 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.446e-05/3.615, allocations: 51.41 kB / 3.093 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/3.615, allocations: 101 kB / 3.093 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/3.615, allocations: 25.7 kB / 3.093 GB, free: 196 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/3.615, allocations: 87.98 kB / 3.093 GB, free: 196 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/3.615, allocations: 7.906 kB / 3.093 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/3.615, allocations: 4 kB / 3.093 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/3.615, allocations: 310.8 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/3.615, allocations: 12.02 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/3.615, allocations: 26.52 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.731e-05/3.615, allocations: 4 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/3.615, allocations: 0 / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.008e-05/3.615, allocations: 49.62 kB / 3.093 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/3.615, allocations: 8.094 kB / 3.093 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/3.615, allocations: 0 / 3.093 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/3.615, allocations: 3.906 kB / 3.093 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/3.615, allocations: 15.94 kB / 3.093 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/3.615, allocations: 0 / 3.093 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/3.615, allocations: 3.984 kB / 3.093 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/3.615, allocations: 7.938 kB / 3.093 GB, free: 195.5 MB / 0.8698 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 (4): * Single equations (assignments): 4 * 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 3.981e-05/3.615, allocations: 101 kB / 3.093 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/3.615, allocations: 7.906 kB / 3.093 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/3.616, allocations: 11.11 kB / 3.093 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/3.616, allocations: 0 / 3.093 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/3.616, allocations: 0 / 3.093 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/3.616, allocations: 0 / 3.093 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/3.616, allocations: 327.5 kB / 3.094 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/3.616, allocations: 4 kB / 3.094 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/3.616, allocations: 0 / 3.094 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/3.616, allocations: 7.984 kB / 3.094 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/3.616, allocations: 0 / 3.094 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/3.616, allocations: 4.031 kB / 3.094 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/3.616, allocations: 0 / 3.094 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 3.813e-05/3.616, allocations: 57.05 kB / 3.094 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/3.616, allocations: 81.11 kB / 3.094 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/3.616, allocations: 0 / 3.094 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/3.616, allocations: 7.984 kB / 3.094 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/3.616, allocations: 7.938 kB / 3.094 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/3.616, allocations: 0 / 3.094 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.394e-05/3.616, allocations: 79.28 kB / 3.094 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002182/3.616, allocations: 35.98 kB / 3.094 GB, free: 194.7 MB / 0.8698 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 (1): * Single equations (assignments): 1 * 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.0005054/3.617, allocations: 0.6516 MB / 3.095 GB, free: 194 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.669e-05/3.617, allocations: 12 kB / 3.095 GB, free: 194 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/3.617, allocations: 0 / 3.095 GB, free: 194 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/3.617, allocations: 0 / 3.095 GB, free: 194 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/3.617, allocations: 4.25 kB / 3.095 GB, free: 194 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001339/3.617, allocations: 60 kB / 3.095 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/3.617, allocations: 0.6841 MB / 3.095 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/3.617, allocations: 7.938 kB / 3.095 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.005269/3.622, allocations: 3.64 MB / 3.099 GB, free: 189.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches