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.149/2.149, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001035/0.001035, allocations: 180.9 kB / 487.4 MB, free: 5.031 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.491/1.491, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.0009411/0.0009411, allocations: 91.91 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2e-05, allocations: 5.719 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3045, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.476, allocations: 436.1 MB / 1.632 GB, free: 2.664 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.476, allocations: 91.08 kB / 1.632 GB, free: 2.621 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.852/5.328, allocations: 1.061 GB / 2.693 GB, free: 158.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.713e-06/5.328, allocations: 0 / 2.693 GB, free: 158.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004463/5.329, allocations: 83.84 kB / 2.693 GB, free: 158.4 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.009925/5.339, allocations: 3.189 MB / 2.696 GB, free: 157.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/5.339, allocations: 9 kB / 2.696 GB, free: 157.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/5.349, allocations: 1.315 MB / 2.697 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008397/5.357, allocations: 3.32 MB / 2.701 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/5.358, allocations: 172.1 kB / 2.701 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006834/5.358, allocations: 140.8 kB / 2.701 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004662/5.363, allocations: 2.019 MB / 2.703 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/5.368, allocations: 2.502 MB / 2.705 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.653e-05/5.368, allocations: 9.219 kB / 2.705 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/5.368, allocations: 9.297 kB / 2.705 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/5.368, allocations: 67.64 kB / 2.705 GB, free: 156.1 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.01982/5.388, allocations: 12.81 MB / 2.718 GB, free: 150.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/5.39, allocations: 1.193 MB / 2.719 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007734/5.39, allocations: 0.6328 MB / 2.72 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/5.392, allocations: 1.778 MB / 2.721 GB, free: 148.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/5.393, allocations: 0.956 MB / 2.722 GB, free: 148.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 4.409e-06/5.393, allocations: 2.125 kB / 2.722 GB, free: 148.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.006734/5.4, allocations: 1.826 MB / 2.724 GB, free: 148 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/5.4, allocations: 0.9385 MB / 2.725 GB, free: 146.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/5.403, allocations: 1.859 MB / 2.727 GB, free: 146.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004007/5.404, allocations: 38.16 kB / 2.727 GB, free: 146.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/5.405, allocations: 1.396 MB / 2.728 GB, free: 146.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/5.406, allocations: 411.5 kB / 2.729 GB, free: 145.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/5.406, allocations: 0 / 2.729 GB, free: 145.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001298/5.406, allocations: 369.1 kB / 2.729 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/5.407, allocations: 0.6236 MB / 2.73 GB, free: 145.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/5.408, allocations: 1.224 MB / 2.731 GB, free: 144.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/5.412, allocations: 0.98 MB / 2.732 GB, free: 144.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/5.412, allocations: 6.531 kB / 2.732 GB, free: 144.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01363/5.425, allocations: 2.93 MB / 2.735 GB, free: 144.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000865/5.426, allocations: 4.954 MB / 2.74 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/5.426, allocations: 12.56 kB / 2.74 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/5.427, allocations: 0.6975 MB / 2.74 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/5.43, allocations: 0.493 MB / 2.741 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/5.432, allocations: 1.908 MB / 2.743 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005142/5.437, allocations: 465.2 kB / 2.743 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/5.438, allocations: 104.7 kB / 2.743 GB, free: 138.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/5.438, allocations: 8.031 kB / 2.743 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01275/5.451, allocations: 2.641 MB / 2.746 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/5.451, allocations: 11.62 kB / 2.746 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/5.452, allocations: 0.7112 MB / 2.746 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/5.454, allocations: 486.4 kB / 2.747 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/5.457, allocations: 1.905 MB / 2.749 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004515/5.461, allocations: 373.1 kB / 2.749 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004401/5.462, allocations: 108.5 kB / 2.749 GB, free: 137 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.0008082/5.462, allocations: 158.9 kB / 2.749 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009888/5.463, allocations: 243.6 kB / 2.75 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/5.477, allocations: 2.432 MB / 2.752 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/5.477, allocations: 23.11 kB / 2.752 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/5.477, allocations: 3.812 kB / 2.752 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01211/5.489, allocations: 2.253 MB / 2.754 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/5.507, allocations: 6.839 MB / 2.761 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/5.507, allocations: 3.969 kB / 2.761 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/5.509, allocations: 291.7 kB / 2.761 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/5.51, allocations: 0.6997 MB / 2.762 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/5.51, allocations: 38.7 kB / 2.762 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/5.513, allocations: 1.893 MB / 2.764 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/5.513, allocations: 9.844 kB / 2.764 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006505/5.519, allocations: 3.418 MB / 2.767 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/5.521, allocations: 0.6298 MB / 2.768 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009073/5.522, allocations: 18.2 kB / 2.768 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/5.526, allocations: 266.9 kB / 2.768 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/5.526, allocations: 115.8 kB / 2.768 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/5.526, allocations: 72.72 kB / 2.768 GB, free: 131.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002364/5.528, allocations: 1.391 MB / 2.769 GB, free: 131.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/5.528, allocations: 0 / 2.769 GB, free: 131.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005889/5.534, allocations: 1.817 MB / 2.771 GB, free: 131.4 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.002549/5.537, allocations: 1.508 MB / 2.773 GB, free: 131 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004068/5.541, allocations: 2.633 MB / 2.775 GB, free: 130.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/5.541, allocations: 4.688 kB / 2.775 GB, free: 130.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/5.542, allocations: 0.7733 MB / 2.776 GB, free: 130.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/5.547, allocations: 1.079 MB / 2.777 GB, free: 130.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/5.554, allocations: 3.676 MB / 2.781 GB, free: 129.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009933/5.555, allocations: 1.775 MB / 2.782 GB, free: 128.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003812/5.559, allocations: 0.7595 MB / 2.783 GB, free: 128.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/5.56, allocations: 177.2 kB / 2.783 GB, free: 128.9 MB / 1.167 GB Notification: Performance of SimCode: time 8.61e-07/5.56, allocations: 0 / 2.783 GB, free: 128.9 MB / 1.167 GB Notification: Performance of Templates: time 0.07972/5.639, allocations: 65.06 MB / 2.847 GB, free: 125.3 MB / 1.167 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