Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") [: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.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.0009631/0.0009633, allocations: 192.2 kB / 316 MB, free: 3.52 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.097/1.097, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.0008711/0.0008711, allocations: 85.2 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.893e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9567/1.1, allocations: 411.3 MB / 1.286 GB, free: 262 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.101, allocations: 85.53 kB / 1.286 GB, free: 262 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.298/2.399, allocations: 0.6002 GB / 1.887 GB, free: 39.04 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001044/2.399, allocations: 38.34 kB / 1.887 GB, free: 39 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002645/2.401, allocations: 1.751 MB / 1.888 GB, free: 37.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/2.401, allocations: 12.03 kB / 1.888 GB, free: 37.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/2.403, allocations: 0.5364 MB / 1.889 GB, free: 36.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/2.406, allocations: 1.516 MB / 1.89 GB, free: 35.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/2.406, allocations: 253.2 kB / 1.891 GB, free: 34.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/2.407, allocations: 59.91 kB / 1.891 GB, free: 34.81 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001433/2.408, allocations: 0.9958 MB / 1.892 GB, free: 33.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/2.409, allocations: 0.9801 MB / 1.892 GB, free: 32.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/2.409, allocations: 0 / 1.892 GB, free: 32.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.463e-05/2.409, allocations: 4 kB / 1.892 GB, free: 32.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/2.41, allocations: 20 kB / 1.893 GB, free: 32.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005861/2.415, allocations: 4.674 MB / 1.897 GB, free: 27.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000897/2.416, allocations: 0.7668 MB / 1.898 GB, free: 27.16 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/2.417, allocations: 366.2 kB / 1.898 GB, free: 26.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/2.417, allocations: 1.159 MB / 1.899 GB, free: 25.39 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000532/2.418, allocations: 453.1 kB / 1.9 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 2.615e-06/2.418, allocations: 3.938 kB / 1.9 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.001393/2.419, allocations: 0.8464 MB / 1.901 GB, free: 24.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/2.419, allocations: 89.59 kB / 1.901 GB, free: 23.97 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/2.42, allocations: 1.203 MB / 1.902 GB, free: 22.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/2.42, allocations: 29.7 kB / 1.902 GB, free: 22.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/2.421, allocations: 433.6 kB / 1.902 GB, free: 22.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/2.421, allocations: 193.2 kB / 1.902 GB, free: 22.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/2.421, allocations: 0 / 1.902 GB, free: 22.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/2.421, allocations: 329.9 kB / 1.903 GB, free: 21.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/2.421, allocations: 353.2 kB / 1.903 GB, free: 21.42 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/2.422, allocations: 0.5431 MB / 1.904 GB, free: 20.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/2.423, allocations: 442 kB / 1.904 GB, free: 20.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/2.423, allocations: 0 / 1.904 GB, free: 20.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001546/2.424, allocations: 1.01 MB / 1.905 GB, free: 19.35 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/2.424, allocations: 0.8974 MB / 1.906 GB, free: 18.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/2.424, allocations: 0 / 1.906 GB, free: 18.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/2.424, allocations: 12 kB / 1.906 GB, free: 18.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/2.425, allocations: 223.7 kB / 1.906 GB, free: 18.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/2.425, allocations: 8 kB / 1.906 GB, free: 18.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/2.427, allocations: 215.3 kB / 1.906 GB, free: 17.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/2.427, allocations: 35.97 kB / 1.906 GB, free: 17.92 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/2.427, allocations: 8 kB / 1.906 GB, free: 17.91 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001376/2.428, allocations: 0.8416 MB / 1.907 GB, free: 17.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/2.428, allocations: 4 kB / 1.907 GB, free: 17.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/2.428, allocations: 4 kB / 1.907 GB, free: 17.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/2.429, allocations: 232 kB / 1.907 GB, free: 16.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/2.429, allocations: 7.938 kB / 1.907 GB, free: 16.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/2.43, allocations: 175.4 kB / 1.908 GB, free: 16.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/2.431, allocations: 35.97 kB / 1.908 GB, free: 16.62 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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 0.0001682/2.431, allocations: 117 kB / 1.908 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/2.431, allocations: 138.3 kB / 1.908 GB, free: 16.36 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/2.433, allocations: 1.126 MB / 1.909 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/2.433, allocations: 12 kB / 1.909 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/2.433, allocations: 0 / 1.909 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/2.433, allocations: 11.83 kB / 1.909 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/2.436, allocations: 2.507 MB / 1.911 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/2.436, allocations: 4 kB / 1.911 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/2.437, allocations: 164.1 kB / 1.912 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/2.437, allocations: 4 kB / 1.912 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/2.437, allocations: 19.97 kB / 1.912 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/2.437, allocations: 4 kB / 1.912 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.437, allocations: 4 kB / 1.912 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001448/2.438, allocations: 1.28 MB / 1.913 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/2.439, allocations: 387 kB / 1.913 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/2.439, allocations: 12 kB / 1.913 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/2.44, allocations: 119.8 kB / 1.913 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/2.44, allocations: 52.33 kB / 1.913 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/2.44, allocations: 35.97 kB / 1.913 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001028/2.441, allocations: 0.9141 MB / 1.914 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001723/2.443, allocations: 0.7327 MB / 1.915 GB, free: 8.77 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.001404/2.444, allocations: 1.02 MB / 1.916 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001716/2.446, allocations: 1.361 MB / 1.917 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.446, allocations: 0 / 1.917 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005103/2.447, allocations: 453.8 kB / 1.918 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/2.449, allocations: 470.4 kB / 1.918 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/2.452, allocations: 1.908 MB / 1.92 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009716/2.453, allocations: 1.416 MB / 1.922 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/2.453, allocations: 0 / 1.922 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of Templates: time 0.3003/2.753, allocations: 33.18 MB / 1.954 GB, free: 244.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches