Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.288/2.288, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001169/0.001169, allocations: 176 kB / 0.4902 GB, free: 2.227 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.587/1.587, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.001008/0.001008, allocations: 99.17 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 11.22 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.326, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.269/1.595, allocations: 437.6 MB / 1.657 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.595, allocations: 95.02 kB / 1.657 GB, free: 8.012 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.629/5.224, allocations: 1.069 GB / 2.726 GB, free: 26.39 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.723e-06/5.224, allocations: 0 / 2.726 GB, free: 26.39 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004985/5.224, allocations: 79.91 kB / 2.726 GB, free: 26.31 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.01173/5.236, allocations: 3.704 MB / 2.73 GB, free: 22.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/5.236, allocations: 8.031 kB / 2.73 GB, free: 22.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/5.247, allocations: 1.315 MB / 2.731 GB, free: 21.18 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008941/5.256, allocations: 3.356 MB / 2.734 GB, free: 17.74 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003803/5.256, allocations: 251.9 kB / 2.735 GB, free: 17.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009968/5.257, allocations: 232 kB / 2.735 GB, free: 17.25 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009051/5.266, allocations: 3.201 MB / 2.738 GB, free: 13.86 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.546e-05/5.266, allocations: 11.94 kB / 2.738 GB, free: 13.85 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/5.266, allocations: 108 kB / 2.738 GB, free: 13.74 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/5.267, allocations: 67.98 kB / 2.738 GB, free: 13.68 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009245/5.276, allocations: 2.882 MB / 2.741 GB, free: 10.78 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.02221/5.298, allocations: 13.31 MB / 2.754 GB, free: 12.89 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/5.303, allocations: 1.606 MB / 2.756 GB, free: 11.24 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002094/5.305, allocations: 1.777 MB / 2.757 GB, free: 9.074 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004402/5.309, allocations: 1.288 MB / 2.759 GB, free: 7.688 MB / 1.182 GB Notification: Performance of pre-optimization done (n=122): time 6.532e-06/5.309, allocations: 0 / 2.759 GB, free: 7.688 MB / 1.182 GB Notification: Performance of matching and sorting (n=122): time 0.04475/5.354, allocations: 6.113 MB / 2.764 GB, free: 1.516 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004047/5.355, allocations: 0.9357 MB / 2.765 GB, free: 368 kB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6874/6.042, allocations: 2.338 MB / 2.768 GB, free: 162.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0007634/6.043, allocations: 59.2 kB / 2.768 GB, free: 162.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/6.045, allocations: 1.367 MB / 2.769 GB, free: 162.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000773/6.045, allocations: 431 kB / 2.769 GB, free: 162.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/6.046, allocations: 35.34 kB / 2.77 GB, free: 162.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001518/6.046, allocations: 368.4 kB / 2.77 GB, free: 162 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/6.05, allocations: 0.9961 MB / 2.771 GB, free: 162 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004922/6.055, allocations: 1.616 MB / 2.772 GB, free: 161.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004405/6.06, allocations: 1.126 MB / 2.774 GB, free: 161.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/6.06, allocations: 5.094 kB / 2.774 GB, free: 161.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.02063/6.08, allocations: 3.649 MB / 2.777 GB, free: 161.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001408/6.082, allocations: 5.043 MB / 2.782 GB, free: 155.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/6.082, allocations: 14.91 kB / 2.782 GB, free: 155.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/6.085, allocations: 0.9495 MB / 2.783 GB, free: 155.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/6.089, allocations: 498.1 kB / 2.783 GB, free: 155.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/6.092, allocations: 1.989 MB / 2.785 GB, free: 154.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006165/6.098, allocations: 0.5263 MB / 2.786 GB, free: 154.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004306/6.099, allocations: 108.4 kB / 2.786 GB, free: 154.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/6.099, allocations: 1.938 kB / 2.786 GB, free: 154.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01851/6.117, allocations: 3.331 MB / 2.789 GB, free: 154.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.557e-05/6.117, allocations: 12.56 kB / 2.789 GB, free: 154.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/6.121, allocations: 0.9514 MB / 2.79 GB, free: 154.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/6.124, allocations: 487.1 kB / 2.791 GB, free: 154.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/6.127, allocations: 1.987 MB / 2.793 GB, free: 153.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005631/6.133, allocations: 454.2 kB / 2.793 GB, free: 153.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004134/6.134, allocations: 114.6 kB / 2.793 GB, free: 153.5 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.00239/6.136, allocations: 0.6981 MB / 2.794 GB, free: 153.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000991/6.137, allocations: 276.7 kB / 2.794 GB, free: 153.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/6.154, allocations: 2.953 MB / 2.797 GB, free: 153 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.534e-05/6.154, allocations: 21.66 kB / 2.797 GB, free: 153 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/6.154, allocations: 3.938 kB / 2.797 GB, free: 153 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01559/6.169, allocations: 2.71 MB / 2.8 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/6.193, allocations: 7.665 MB / 2.807 GB, free: 150.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-05/6.193, allocations: 12.81 kB / 2.807 GB, free: 150.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/6.195, allocations: 288 kB / 2.807 GB, free: 150.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/6.198, allocations: 0.9338 MB / 2.808 GB, free: 150.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000326/6.198, allocations: 47.95 kB / 2.808 GB, free: 150.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/6.201, allocations: 1.985 MB / 2.81 GB, free: 149.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/6.201, allocations: 10.06 kB / 2.81 GB, free: 149.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/6.214, allocations: 4.314 MB / 2.815 GB, free: 148.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/6.217, allocations: 0.6751 MB / 2.815 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001359/6.218, allocations: 38.61 kB / 2.815 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004564/6.223, allocations: 303.5 kB / 2.816 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/6.223, allocations: 115.5 kB / 2.816 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002821/6.223, allocations: 71.16 kB / 2.816 GB, free: 148 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.005155/6.229, allocations: 1.837 MB / 2.817 GB, free: 147.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.3e-07/6.229, allocations: 0 / 2.817 GB, free: 147.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.009939/6.239, allocations: 1.853 MB / 2.819 GB, free: 147.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.004096/6.243, allocations: 1.501 MB / 2.821 GB, free: 147.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01365/6.256, allocations: 3.66 MB / 2.824 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/6.256, allocations: 3.375 kB / 2.824 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003835/6.26, allocations: 1.093 MB / 2.825 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007391/6.268, allocations: 1.393 MB / 2.827 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/6.281, allocations: 5.946 MB / 2.833 GB, free: 144.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/6.283, allocations: 1.768 MB / 2.834 GB, free: 143.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004767/6.288, allocations: 0.6856 MB / 2.835 GB, free: 143.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000957/6.289, allocations: 241.1 kB / 2.835 GB, free: 143.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.092e-06/6.289, allocations: 0 / 2.835 GB, free: 143.9 MB / 1.182 GB Notification: Performance of Templates: time 0.109/6.398, allocations: 74.32 MB / 2.908 GB, free: 140.2 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches