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.333/2.333, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001126/0.001126, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.0009739/0.0009737, allocations: 88.02 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.279e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3079, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/1.649, allocations: 437.6 MB / 1.646 GB, free: 12.69 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.65, allocations: 91.94 kB / 1.646 GB, free: 12.6 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.45/6.1, allocations: 1.066 GB / 2.712 GB, free: 167 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.813e-06/6.1, allocations: 0 / 2.712 GB, free: 167 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004945/6.1, allocations: 84.75 kB / 2.712 GB, free: 167 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.009288/6.109, allocations: 3.181 MB / 2.716 GB, free: 165.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/6.109, allocations: 15.16 kB / 2.716 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009916/6.119, allocations: 1.31 MB / 2.717 GB, free: 165.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/6.128, allocations: 3.329 MB / 2.72 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/6.128, allocations: 250.3 kB / 2.72 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008909/6.129, allocations: 239.1 kB / 2.721 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006769/6.136, allocations: 2.833 MB / 2.723 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.95e-05/6.136, allocations: 7.312 kB / 2.723 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005292/6.136, allocations: 98.72 kB / 2.723 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-05/6.136, allocations: 70 kB / 2.723 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004538/6.141, allocations: 2.176 MB / 2.726 GB, free: 164.4 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.0203/6.161, allocations: 13.32 MB / 2.739 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/6.163, allocations: 1.25 MB / 2.74 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000866/6.164, allocations: 0.6559 MB / 2.74 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/6.165, allocations: 1.781 MB / 2.742 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/6.167, allocations: 0.9948 MB / 2.743 GB, free: 156.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 3.707e-06/6.167, allocations: 3.062 kB / 2.743 GB, free: 156.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.005062/6.172, allocations: 1.699 MB / 2.745 GB, free: 156.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002366/6.172, allocations: 0.9339 MB / 2.746 GB, free: 154.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003688/6.176, allocations: 2.257 MB / 2.748 GB, free: 154.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003734/6.176, allocations: 59.02 kB / 2.748 GB, free: 154.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/6.177, allocations: 1.364 MB / 2.749 GB, free: 154.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/6.178, allocations: 435.5 kB / 2.75 GB, free: 153.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/6.178, allocations: 33.41 kB / 2.75 GB, free: 153.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000148/6.178, allocations: 368.1 kB / 2.75 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/6.179, allocations: 0.6589 MB / 2.751 GB, free: 153.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/6.181, allocations: 1.265 MB / 2.752 GB, free: 152.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/6.182, allocations: 0.785 MB / 2.753 GB, free: 152.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/6.182, allocations: 5.719 kB / 2.753 GB, free: 152.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01181/6.194, allocations: 2.887 MB / 2.756 GB, free: 152.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009283/6.195, allocations: 5.033 MB / 2.761 GB, free: 147.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/6.195, allocations: 22.98 kB / 2.761 GB, free: 147.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/6.197, allocations: 0.8204 MB / 2.761 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/6.2, allocations: 497.1 kB / 2.762 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/6.201, allocations: 1.801 MB / 2.764 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/6.207, allocations: 0.5281 MB / 2.764 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/6.207, allocations: 110 kB / 2.764 GB, free: 146.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/6.207, allocations: 3.156 kB / 2.764 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0106/6.218, allocations: 2.62 MB / 2.767 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/6.218, allocations: 14.59 kB / 2.767 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/6.22, allocations: 0.8235 MB / 2.768 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/6.223, allocations: 487.1 kB / 2.768 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/6.225, allocations: 1.805 MB / 2.77 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/6.231, allocations: 449.4 kB / 2.77 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004613/6.232, allocations: 108.8 kB / 2.77 GB, free: 144.9 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.0006714/6.232, allocations: 222.5 kB / 2.771 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000919/6.233, allocations: 271.4 kB / 2.771 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/6.244, allocations: 2.306 MB / 2.773 GB, free: 144.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/6.245, allocations: 14.47 kB / 2.773 GB, free: 144.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/6.245, allocations: 10.67 kB / 2.773 GB, free: 144.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01025/6.255, allocations: 2.078 MB / 2.775 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/6.271, allocations: 7.015 MB / 2.782 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/6.271, allocations: 11.58 kB / 2.782 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/6.272, allocations: 290.2 kB / 2.782 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/6.274, allocations: 0.8085 MB / 2.783 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/6.274, allocations: 50.81 kB / 2.783 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/6.276, allocations: 1.801 MB / 2.785 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/6.276, allocations: 10.59 kB / 2.785 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/6.28, allocations: 3.402 MB / 2.788 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/6.282, allocations: 0.6702 MB / 2.789 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004936/6.283, allocations: 33.38 kB / 2.789 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003358/6.286, allocations: 300.9 kB / 2.789 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/6.286, allocations: 116.3 kB / 2.789 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/6.287, allocations: 67.66 kB / 2.789 GB, free: 139.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002785/6.289, allocations: 1.754 MB / 2.791 GB, free: 139.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/6.289, allocations: 0 / 2.791 GB, free: 139.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00659/6.296, allocations: 1.857 MB / 2.793 GB, free: 139 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.003035/6.299, allocations: 1.507 MB / 2.794 GB, free: 138.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004892/6.304, allocations: 2.787 MB / 2.797 GB, free: 138.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/6.304, allocations: 4.625 kB / 2.797 GB, free: 138.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/6.305, allocations: 0.8073 MB / 2.798 GB, free: 138.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007197/6.313, allocations: 1.397 MB / 2.799 GB, free: 138.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/6.321, allocations: 3.8 MB / 2.803 GB, free: 137.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/6.322, allocations: 1.775 MB / 2.805 GB, free: 136.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00477/6.327, allocations: 0.8503 MB / 2.806 GB, free: 136.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/6.328, allocations: 185.7 kB / 2.806 GB, free: 136.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.523e-06/6.328, allocations: 0 / 2.806 GB, free: 136.4 MB / 1.167 GB Notification: Performance of Templates: time 0.1138/6.442, allocations: 80.07 MB / 2.884 GB, free: 124.9 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