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.253/2.253, allocations: 390.5 MB / 398 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.001378/0.001378, allocations: 184.6 kB / 491.2 MB, free: 1.598 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.815/1.815, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001282/0.001282, allocations: 91.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.037e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.369, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/1.721, allocations: 436.9 MB / 1.639 GB, free: 10.27 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.721, allocations: 91.22 kB / 1.639 GB, free: 10.22 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.362/6.083, allocations: 1.061 GB / 2.7 GB, free: 158 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.543e-06/6.083, allocations: 0 / 2.7 GB, free: 158 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004728/6.084, allocations: 89.36 kB / 2.7 GB, free: 158 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.01029/6.094, allocations: 3.186 MB / 2.703 GB, free: 156.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/6.094, allocations: 11.62 kB / 2.703 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/6.104, allocations: 1.317 MB / 2.705 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009851/6.114, allocations: 3.326 MB / 2.708 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/6.114, allocations: 162.2 kB / 2.708 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/6.115, allocations: 144.6 kB / 2.708 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005352/6.121, allocations: 2.017 MB / 2.71 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/6.126, allocations: 2.501 MB / 2.712 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.014e-05/6.126, allocations: 9.594 kB / 2.713 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/6.126, allocations: 7.688 kB / 2.713 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.32e-05/6.126, allocations: 69.91 kB / 2.713 GB, free: 155.7 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01994/6.146, allocations: 12.81 MB / 2.725 GB, free: 150.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/6.148, allocations: 1.199 MB / 2.726 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/6.148, allocations: 0.6271 MB / 2.727 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/6.15, allocations: 1.773 MB / 2.729 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/6.151, allocations: 0.9592 MB / 2.73 GB, free: 147.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 3.156e-06/6.151, allocations: 0 / 2.73 GB, free: 147.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.006725/6.158, allocations: 1.833 MB / 2.731 GB, free: 147.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/6.158, allocations: 0.9371 MB / 2.732 GB, free: 146.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/6.161, allocations: 1.856 MB / 2.734 GB, free: 146.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003758/6.162, allocations: 35.08 kB / 2.734 GB, free: 146.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/6.163, allocations: 1.385 MB / 2.735 GB, free: 145.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004959/6.163, allocations: 417.2 kB / 2.736 GB, free: 145.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/6.163, allocations: 3 kB / 2.736 GB, free: 145.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000103/6.163, allocations: 367.9 kB / 2.736 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/6.165, allocations: 0.6253 MB / 2.737 GB, free: 145.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/6.166, allocations: 1.221 MB / 2.738 GB, free: 144.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003576/6.169, allocations: 0.9778 MB / 2.739 GB, free: 144.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/6.169, allocations: 3.969 kB / 2.739 GB, free: 144.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01372/6.183, allocations: 2.941 MB / 2.742 GB, free: 144.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009032/6.184, allocations: 4.943 MB / 2.747 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/6.184, allocations: 10.28 kB / 2.747 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/6.186, allocations: 0.7123 MB / 2.747 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/6.189, allocations: 496.5 kB / 2.748 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/6.191, allocations: 1.904 MB / 2.75 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006139/6.197, allocations: 461.2 kB / 2.75 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004312/6.198, allocations: 101.6 kB / 2.75 GB, free: 137.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/6.198, allocations: 7.875 kB / 2.75 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01361/6.211, allocations: 2.65 MB / 2.753 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.871e-05/6.212, allocations: 14 kB / 2.753 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/6.213, allocations: 0.702 MB / 2.754 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/6.216, allocations: 489.2 kB / 2.754 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/6.218, allocations: 1.905 MB / 2.756 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/6.223, allocations: 371.3 kB / 2.756 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/6.223, allocations: 102.6 kB / 2.756 GB, free: 136.6 MB / 1.167 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 () * 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.000804/6.224, allocations: 162.7 kB / 2.756 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009669/6.225, allocations: 247.6 kB / 2.757 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/6.243, allocations: 2.436 MB / 2.759 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/6.243, allocations: 15.75 kB / 2.759 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/6.243, allocations: 3.938 kB / 2.759 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01959/6.263, allocations: 2.258 MB / 2.761 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02487/6.288, allocations: 6.842 MB / 2.768 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/6.288, allocations: 7.781 kB / 2.768 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/6.29, allocations: 292.1 kB / 2.768 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/6.292, allocations: 0.703 MB / 2.769 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/6.292, allocations: 33.31 kB / 2.769 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003058/6.295, allocations: 1.891 MB / 2.771 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/6.295, allocations: 12.72 kB / 2.771 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00918/6.304, allocations: 3.409 MB / 2.774 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/6.307, allocations: 0.6377 MB / 2.775 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000689/6.307, allocations: 17.66 kB / 2.775 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00449/6.312, allocations: 266.3 kB / 2.775 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/6.312, allocations: 114.5 kB / 2.775 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/6.312, allocations: 73.69 kB / 2.775 GB, free: 131.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002906/6.315, allocations: 1.387 MB / 2.777 GB, free: 131.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/6.315, allocations: 0 / 2.777 GB, free: 131.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007983/6.323, allocations: 1.822 MB / 2.778 GB, free: 130.9 MB / 1.167 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) * 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.00379/6.327, allocations: 1.506 MB / 2.78 GB, free: 130.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00635/6.334, allocations: 2.638 MB / 2.782 GB, free: 130.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/6.334, allocations: 4.656 kB / 2.782 GB, free: 130.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/6.335, allocations: 0.7653 MB / 2.783 GB, free: 130.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007347/6.343, allocations: 1.075 MB / 2.784 GB, free: 130.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/6.353, allocations: 3.675 MB / 2.788 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/6.355, allocations: 1.772 MB / 2.79 GB, free: 128.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006277/6.361, allocations: 0.7558 MB / 2.79 GB, free: 128.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006169/6.362, allocations: 178.9 kB / 2.79 GB, free: 128.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.183e-06/6.362, allocations: 0 / 2.79 GB, free: 128.4 MB / 1.167 GB Notification: Performance of Templates: time 0.1423/6.504, allocations: 65.07 MB / 2.854 GB, free: 124.7 MB / 1.167 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