Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001296/0.001297, allocations: 181.3 kB / 498.1 MB, free: 5.691 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.674/1.674, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001038/0.001037, allocations: 102.5 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000523/0.0005233, allocations: 13.67 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3318, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.53, allocations: 436.8 MB / 1.649 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.531, allocations: 91.84 kB / 1.65 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.544/5.074, allocations: 1.069 GB / 2.719 GB, free: 45.12 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.934e-06/5.075, allocations: 0 / 2.719 GB, free: 45.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003367/5.075, allocations: 79.97 kB / 2.719 GB, free: 45.05 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009746/5.085, allocations: 3.7 MB / 2.723 GB, free: 41.24 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/5.085, allocations: 12.03 kB / 2.723 GB, free: 41.23 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/5.095, allocations: 1.315 MB / 2.724 GB, free: 39.91 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007167/5.102, allocations: 3.349 MB / 2.727 GB, free: 36.48 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/5.103, allocations: 251.9 kB / 2.727 GB, free: 36.22 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004381/5.103, allocations: 232 kB / 2.728 GB, free: 36 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007548/5.111, allocations: 3.193 MB / 2.731 GB, free: 32.61 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.638e-05/5.111, allocations: 11.84 kB / 2.731 GB, free: 32.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/5.111, allocations: 107.9 kB / 2.731 GB, free: 32.49 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/5.111, allocations: 75.98 kB / 2.731 GB, free: 32.42 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009226/5.12, allocations: 2.878 MB / 2.734 GB, free: 29.52 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01956/5.14, allocations: 13.31 MB / 2.747 GB, free: 15.64 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/5.144, allocations: 1.6 MB / 2.748 GB, free: 14 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/5.145, allocations: 1.777 MB / 2.75 GB, free: 11.83 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003451/5.149, allocations: 1.288 MB / 2.751 GB, free: 10.44 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 4.399e-06/5.149, allocations: 112 / 2.751 GB, free: 10.44 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.04052/5.189, allocations: 6.128 MB / 2.757 GB, free: 4.258 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002094/5.19, allocations: 0.9358 MB / 2.758 GB, free: 3.102 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/5.194, allocations: 2.34 MB / 2.761 GB, free: 0.75 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004533/5.194, allocations: 57.7 kB / 2.761 GB, free: 0.6875 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/5.196, allocations: 1.371 MB / 2.762 GB, free: 15.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006234/5.196, allocations: 429.9 kB / 2.762 GB, free: 14.88 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/5.196, allocations: 32 kB / 2.762 GB, free: 14.84 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001708/5.197, allocations: 369.9 kB / 2.763 GB, free: 14.48 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/5.201, allocations: 0.9993 MB / 2.764 GB, free: 13.48 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004659/5.205, allocations: 1.618 MB / 2.765 GB, free: 11.61 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/5.209, allocations: 1.126 MB / 2.766 GB, free: 10.48 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/5.209, allocations: 4 kB / 2.766 GB, free: 10.48 MB / 1.182 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01861/5.228, allocations: 3.649 MB / 2.77 GB, free: 6.805 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002174/5.23, allocations: 5.041 MB / 2.775 GB, free: 1.355 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/5.23, allocations: 12 kB / 2.775 GB, free: 1.344 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/5.234, allocations: 0.9561 MB / 2.776 GB, free: 392 kB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.735/5.969, allocations: 490.5 kB / 2.776 GB, free: 167.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/5.972, allocations: 1.987 MB / 2.778 GB, free: 166.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006241/5.979, allocations: 0.5264 MB / 2.779 GB, free: 166.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000583/5.979, allocations: 106.6 kB / 2.779 GB, free: 166.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/5.979, allocations: 5.344 kB / 2.779 GB, free: 166.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01887/5.998, allocations: 3.327 MB / 2.782 GB, free: 166.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.974e-05/5.998, allocations: 11.84 kB / 2.782 GB, free: 166.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/6.002, allocations: 0.9556 MB / 2.783 GB, free: 166.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/6.005, allocations: 485.1 kB / 2.784 GB, free: 166.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/6.008, allocations: 1.991 MB / 2.785 GB, free: 165.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005343/6.013, allocations: 457.1 kB / 2.786 GB, free: 165.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004895/6.014, allocations: 106.2 kB / 2.786 GB, free: 165.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002191/6.016, allocations: 0.7038 MB / 2.787 GB, free: 165 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/6.017, allocations: 276.8 kB / 2.787 GB, free: 165 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/6.034, allocations: 2.94 MB / 2.79 GB, free: 165 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.484e-05/6.034, allocations: 16.33 kB / 2.79 GB, free: 165 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/6.034, allocations: 7.812 kB / 2.79 GB, free: 165 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01593/6.05, allocations: 2.715 MB / 2.793 GB, free: 164.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02281/6.073, allocations: 7.654 MB / 2.8 GB, free: 162.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/6.073, allocations: 13.62 kB / 2.8 GB, free: 162.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/6.075, allocations: 293.2 kB / 2.8 GB, free: 162.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003058/6.078, allocations: 0.9357 MB / 2.801 GB, free: 162.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/6.078, allocations: 46.55 kB / 2.801 GB, free: 162.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/6.081, allocations: 1.981 MB / 2.803 GB, free: 161.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/6.081, allocations: 7.562 kB / 2.803 GB, free: 161.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/6.093, allocations: 4.328 MB / 2.807 GB, free: 160.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/6.095, allocations: 0.6739 MB / 2.808 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006689/6.096, allocations: 37.36 kB / 2.808 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003596/6.099, allocations: 298.4 kB / 2.808 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/6.1, allocations: 110.4 kB / 2.808 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/6.1, allocations: 74.75 kB / 2.809 GB, free: 159.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003076/6.103, allocations: 1.833 MB / 2.81 GB, free: 159.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.61e-07/6.103, allocations: 1.406 kB / 2.81 GB, free: 159.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00669/6.109, allocations: 1.851 MB / 2.812 GB, free: 159.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002949/6.112, allocations: 1.517 MB / 2.814 GB, free: 159.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01246/6.125, allocations: 3.657 MB / 2.817 GB, free: 159.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/6.125, allocations: 6.969 kB / 2.817 GB, free: 159.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004037/6.129, allocations: 1.088 MB / 2.818 GB, free: 159.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008068/6.137, allocations: 1.392 MB / 2.82 GB, free: 159.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/6.149, allocations: 5.938 MB / 2.825 GB, free: 156.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/6.15, allocations: 1.77 MB / 2.827 GB, free: 155.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004379/6.155, allocations: 0.6967 MB / 2.828 GB, free: 155.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007291/6.155, allocations: 239.3 kB / 2.828 GB, free: 155.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.282e-06/6.155, allocations: 0 / 2.828 GB, free: 155.9 MB / 1.182 GB Notification: Performance of Templates: time 0.1071/6.263, allocations: 74.32 MB / 2.901 GB, free: 152.5 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches