Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [: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.072/2.072, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001002/0.001002, allocations: 181.2 kB / 490.8 MB, free: 1.941 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.312/1.312, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009104/0.0009105, allocations: 98.14 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.552e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2477, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9104/1.158, allocations: 435.2 MB / 1.637 GB, free: 13.57 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/1.158, allocations: 69.19 kB / 1.637 GB, free: 13.53 MB / 1.057 GB Notification: Performance of FrontEnd: time 0.03969/1.198, allocations: 18.71 MB / 1.655 GB, free: 14.57 MB / 1.073 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.198, allocations: 0 / 1.655 GB, free: 14.57 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003111/1.198, allocations: 358.2 kB / 1.655 GB, free: 14.18 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/1.199, allocations: 12.03 kB / 1.655 GB, free: 14.16 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/1.199, allocations: 7.844 kB / 1.655 GB, free: 14.16 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/1.199, allocations: 163.1 kB / 1.655 GB, free: 13.96 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/1.199, allocations: 25.7 kB / 1.655 GB, free: 13.93 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/1.199, allocations: 0 / 1.655 GB, free: 13.93 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.383e-05/1.199, allocations: 15.48 kB / 1.655 GB, free: 13.91 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.636e-05/1.199, allocations: 37.69 kB / 1.655 GB, free: 13.87 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/1.199, allocations: 0 / 1.655 GB, free: 13.87 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.199, allocations: 0 / 1.655 GB, free: 13.87 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/1.199, allocations: 4 kB / 1.655 GB, free: 13.87 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/1.199, allocations: 313.1 kB / 1.656 GB, free: 13.51 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.877e-05/1.199, allocations: 26.55 kB / 1.656 GB, free: 13.48 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/1.199, allocations: 8.547 kB / 1.656 GB, free: 13.47 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.421e-05/1.2, allocations: 81.17 kB / 1.656 GB, free: 13.37 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/1.2, allocations: 34.56 kB / 1.656 GB, free: 13.33 MB / 1.073 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.2, allocations: 4 kB / 1.656 GB, free: 13.32 MB / 1.073 GB Notification: Performance of matching and sorting (n=1): time 0.000161/1.2, allocations: 37.59 kB / 1.656 GB, free: 13.28 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/1.2, allocations: 55.34 kB / 1.656 GB, free: 13.21 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/1.2, allocations: 92.81 kB / 1.656 GB, free: 13.12 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/1.2, allocations: 29.7 kB / 1.656 GB, free: 13.09 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/1.2, allocations: 84.05 kB / 1.656 GB, free: 13 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/1.2, allocations: 0 / 1.656 GB, free: 13 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/1.2, allocations: 0 / 1.656 GB, free: 13 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/1.2, allocations: 326.1 kB / 1.657 GB, free: 12.68 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/1.2, allocations: 4 kB / 1.657 GB, free: 12.67 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/1.2, allocations: 13.72 kB / 1.657 GB, free: 12.65 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/1.2, allocations: 7.984 kB / 1.657 GB, free: 12.64 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.2, allocations: 0 / 1.657 GB, free: 12.64 MB / 1.073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001027/1.2, allocations: 53.38 kB / 1.657 GB, free: 12.59 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/1.2, allocations: 4 kB / 1.657 GB, free: 12.59 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/1.2, allocations: 4.062 kB / 1.657 GB, free: 12.58 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/1.2, allocations: 288 / 1.657 GB, free: 12.58 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/1.2, allocations: 8 kB / 1.657 GB, free: 12.57 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/1.2, allocations: 0 / 1.657 GB, free: 12.57 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/1.2, allocations: 7.844 kB / 1.657 GB, free: 12.57 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/1.2, allocations: 0 / 1.657 GB, free: 12.57 MB / 1.073 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 (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 5.463e-05/1.2, allocations: 105 kB / 1.657 GB, free: 12.46 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/1.2, allocations: 7.969 kB / 1.657 GB, free: 12.45 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1.201, allocations: 126.9 kB / 1.657 GB, free: 12.32 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.681e-05/1.201, allocations: 180.2 kB / 1.657 GB, free: 12.14 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-05/1.201, allocations: 180.3 kB / 1.657 GB, free: 11.96 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.823e-05/1.201, allocations: 184.2 kB / 1.657 GB, free: 11.77 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/1.201, allocations: 385.4 kB / 1.658 GB, free: 11.35 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/1.201, allocations: 116.9 kB / 1.658 GB, free: 11.23 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/1.201, allocations: 104.9 kB / 1.658 GB, free: 11.12 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.552e-05/1.201, allocations: 176.3 kB / 1.658 GB, free: 10.94 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/1.201, allocations: 176.3 kB / 1.658 GB, free: 10.76 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.592e-05/1.201, allocations: 188.1 kB / 1.658 GB, free: 10.57 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-05/1.201, allocations: 184.3 kB / 1.659 GB, free: 10.38 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001269/1.201, allocations: 311.6 kB / 1.659 GB, free: 10.05 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/1.201, allocations: 183.4 kB / 1.659 GB, free: 9.852 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/1.202, allocations: 184.2 kB / 1.659 GB, free: 9.664 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/1.202, allocations: 108.9 kB / 1.659 GB, free: 9.551 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/1.202, allocations: 183.4 kB / 1.66 GB, free: 9.367 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/1.202, allocations: 105 kB / 1.66 GB, free: 9.258 MB / 1.073 GB Notification: Performance of sort global known variables: time 3.562e-05/1.202, allocations: 79.28 kB / 1.66 GB, free: 9.18 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0002352/1.202, allocations: 19.88 kB / 1.66 GB, free: 9.164 MB / 1.073 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.0002497/1.202, allocations: 233.5 kB / 1.66 GB, free: 8.926 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 5.809e-05/1.202, allocations: 19.84 kB / 1.66 GB, free: 8.91 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.202, allocations: 0 / 1.66 GB, free: 8.91 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.202, allocations: 0 / 1.66 GB, free: 8.91 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.203, allocations: 0.5201 MB / 1.661 GB, free: 8.387 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001657/1.203, allocations: 126.8 kB / 1.661 GB, free: 8.242 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/1.203, allocations: 0.6957 MB / 1.661 GB, free: 7.52 MB / 1.073 GB Notification: Performance of SimCode: time 2.61e-07/1.203, allocations: 0 / 1.661 GB, free: 7.52 MB / 1.073 GB Notification: Performance of Templates: time 0.002712/1.206, allocations: 0.8682 MB / 1.662 GB, free: 6.664 MB / 1.073 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches