Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") [: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.056/2.056, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001157/0.001157, allocations: 181.3 kB / 487 MB, free: 5.336 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.294/1.294, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0009276/0.0009276, allocations: 97.94 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.296e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2275, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.125, allocations: 429.6 MB / 1.625 GB, free: 10.06 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/1.125, allocations: 92.5 kB / 1.625 GB, free: 10.02 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.925/4.05, allocations: 0.959 GB / 2.584 GB, free: 13.96 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003158/4.051, allocations: 75.97 kB / 2.584 GB, free: 13.89 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.009403/4.06, allocations: 2.966 MB / 2.587 GB, free: 10.86 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/4.06, allocations: 8.031 kB / 2.587 GB, free: 10.85 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/4.064, allocations: 0.6284 MB / 2.587 GB, free: 10.22 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/4.076, allocations: 3.023 MB / 2.59 GB, free: 7.125 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008031/4.077, allocations: 222.5 kB / 2.591 GB, free: 6.883 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/4.079, allocations: 120 kB / 2.591 GB, free: 6.766 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005673/4.084, allocations: 1.819 MB / 2.593 GB, free: 4.945 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006353/4.091, allocations: 2.138 MB / 2.595 GB, free: 2.672 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.863e-05/4.091, allocations: 7.938 kB / 2.595 GB, free: 2.664 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006265/4.091, allocations: 4 kB / 2.595 GB, free: 2.66 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/4.092, allocations: 91.56 kB / 2.595 GB, free: 2.57 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.535/4.627, allocations: 11.78 MB / 2.606 GB, free: 296.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/4.629, allocations: 1.177 MB / 2.607 GB, free: 296.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009395/4.63, allocations: 0.6674 MB / 2.608 GB, free: 296.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/4.631, allocations: 1.329 MB / 2.609 GB, free: 295.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/4.632, allocations: 0.9529 MB / 2.61 GB, free: 294.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=107): time 4.198e-06/4.632, allocations: 0 / 2.61 GB, free: 294.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=107): time 0.00331/4.635, allocations: 1.472 MB / 2.612 GB, free: 294.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/4.636, allocations: 0.7746 MB / 2.612 GB, free: 293.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/4.639, allocations: 2.024 MB / 2.614 GB, free: 293.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002123/4.639, allocations: 29.55 kB / 2.614 GB, free: 293.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008823/4.64, allocations: 0.8986 MB / 2.615 GB, free: 293.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/4.64, allocations: 364.9 kB / 2.616 GB, free: 292.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/4.641, allocations: 5.938 kB / 2.616 GB, free: 292.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001129/4.641, allocations: 357.6 kB / 2.616 GB, free: 292.6 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009332/4.642, allocations: 0.6251 MB / 2.617 GB, free: 292.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/4.643, allocations: 1.165 MB / 2.618 GB, free: 292 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/4.644, allocations: 0.7611 MB / 2.618 GB, free: 292 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/4.644, allocations: 3.875 kB / 2.618 GB, free: 292 MB / 1.182 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003366/4.648, allocations: 1.847 MB / 2.62 GB, free: 291.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009089/4.649, allocations: 4.223 MB / 2.624 GB, free: 287.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/4.649, allocations: 10.72 kB / 2.624 GB, free: 287.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/4.649, allocations: 18.75 kB / 2.624 GB, free: 287.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/4.65, allocations: 404.6 kB / 2.625 GB, free: 287.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/4.65, allocations: 23.59 kB / 2.625 GB, free: 287.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/4.653, allocations: 265.1 kB / 2.625 GB, free: 287.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/4.653, allocations: 73.66 kB / 2.625 GB, free: 287.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/4.653, allocations: 3.312 kB / 2.625 GB, free: 287.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002834/4.656, allocations: 1.555 MB / 2.627 GB, free: 287.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/4.656, allocations: 12.78 kB / 2.627 GB, free: 287.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/4.656, allocations: 18.88 kB / 2.627 GB, free: 287.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/4.658, allocations: 403.8 kB / 2.627 GB, free: 287.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/4.658, allocations: 22.03 kB / 2.627 GB, free: 287.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/4.661, allocations: 232.8 kB / 2.627 GB, free: 287.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/4.661, allocations: 71.59 kB / 2.627 GB, free: 287.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 1 * 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.0005121/4.661, allocations: 152.2 kB / 2.628 GB, free: 287.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000578/4.662, allocations: 253.6 kB / 2.628 GB, free: 287 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/4.665, allocations: 1.723 MB / 2.629 GB, free: 286.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/4.665, allocations: 20.62 kB / 2.63 GB, free: 286.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/4.665, allocations: 3.594 kB / 2.63 GB, free: 286.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001767/4.667, allocations: 1.309 MB / 2.631 GB, free: 286.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007505/4.675, allocations: 5.175 MB / 2.636 GB, free: 285.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/4.675, allocations: 5.531 kB / 2.636 GB, free: 285.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/4.676, allocations: 267.7 kB / 2.636 GB, free: 285.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/4.676, allocations: 15.03 kB / 2.636 GB, free: 285.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/4.676, allocations: 21.59 kB / 2.636 GB, free: 285.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/4.676, allocations: 10.09 kB / 2.636 GB, free: 285.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/4.676, allocations: 13.53 kB / 2.636 GB, free: 285.1 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004582/4.681, allocations: 2.954 MB / 2.639 GB, free: 284.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/4.683, allocations: 0.601 MB / 2.64 GB, free: 283.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004643/4.683, allocations: 6.344 kB / 2.64 GB, free: 283.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/4.685, allocations: 146.9 kB / 2.64 GB, free: 283.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/4.685, allocations: 99.19 kB / 2.64 GB, free: 283.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/4.686, allocations: 53.77 kB / 2.64 GB, free: 283.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.002693/4.688, allocations: 1.563 MB / 2.641 GB, free: 283.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005377/4.694, allocations: 1.498 MB / 2.643 GB, free: 283.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003217/4.697, allocations: 1.213 MB / 2.644 GB, free: 283.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004729/4.702, allocations: 2.524 MB / 2.647 GB, free: 283.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/4.702, allocations: 240 / 2.647 GB, free: 283.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/4.703, allocations: 0.7495 MB / 2.647 GB, free: 283.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/4.709, allocations: 0.9957 MB / 2.648 GB, free: 283.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008472/4.717, allocations: 3.759 MB / 2.652 GB, free: 282.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/4.719, allocations: 2.058 MB / 2.654 GB, free: 281.6 MB / 1.182 GB Notification: Performance of SimCode: time 9.21e-07/4.719, allocations: 3.125 kB / 2.654 GB, free: 281.6 MB / 1.182 GB Notification: Performance of Templates: time 0.1021/4.821, allocations: 61.57 MB / 2.714 GB, free: 280.4 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches