Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001137/0.001137, allocations: 181.1 kB / 498.1 MB, free: 5.742 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.596/1.596, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009779/0.0009778, allocations: 98.19 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003781, allocations: 7.391 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.558, allocations: 436.3 MB / 1.649 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/1.559, allocations: 98.08 kB / 1.649 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.719/5.278, allocations: 1.069 GB / 2.718 GB, free: 1.625 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.894e-06/5.278, allocations: 0 / 2.718 GB, free: 1.625 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004621/5.278, allocations: 87.84 kB / 2.718 GB, free: 1.539 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01127/5.289, allocations: 3.688 MB / 2.722 GB, free: 13.74 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/5.289, allocations: 8.031 kB / 2.722 GB, free: 13.73 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009995/5.299, allocations: 1.21 MB / 2.723 GB, free: 12.52 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008273/5.308, allocations: 3.337 MB / 2.726 GB, free: 9.109 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/5.308, allocations: 247.9 kB / 2.727 GB, free: 8.852 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004905/5.309, allocations: 235.9 kB / 2.727 GB, free: 8.621 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009315/5.318, allocations: 3.13 MB / 2.73 GB, free: 5.293 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.395e-05/5.318, allocations: 7.938 kB / 2.73 GB, free: 5.285 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/5.318, allocations: 99.98 kB / 2.73 GB, free: 5.188 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-05/5.318, allocations: 71.98 kB / 2.73 GB, free: 5.117 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/5.329, allocations: 2.776 MB / 2.733 GB, free: 2.324 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.7867/6.115, allocations: 13.12 MB / 2.746 GB, free: 146.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/6.12, allocations: 1.504 MB / 2.747 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/6.122, allocations: 1.779 MB / 2.749 GB, free: 144.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004102/6.126, allocations: 1.211 MB / 2.75 GB, free: 144 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.638e-06/6.126, allocations: 0 / 2.75 GB, free: 144 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.0231/6.149, allocations: 4.27 MB / 2.754 GB, free: 143.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002947/6.149, allocations: 0.9393 MB / 2.755 GB, free: 142.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005971/6.155, allocations: 2.341 MB / 2.757 GB, free: 142.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006247/6.156, allocations: 57.48 kB / 2.757 GB, free: 142.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/6.157, allocations: 1.363 MB / 2.759 GB, free: 141.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006796/6.158, allocations: 413.3 kB / 2.759 GB, free: 141.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/6.158, allocations: 32.44 kB / 2.759 GB, free: 141.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001161/6.158, allocations: 370.4 kB / 2.76 GB, free: 141.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/6.162, allocations: 0.9429 MB / 2.761 GB, free: 141.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004497/6.167, allocations: 1.553 MB / 2.762 GB, free: 140.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/6.171, allocations: 1.085 MB / 2.763 GB, free: 140.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.666e-05/6.171, allocations: 3.938 kB / 2.763 GB, free: 140.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01037/6.181, allocations: 2.901 MB / 2.766 GB, free: 140.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/6.182, allocations: 5.042 MB / 2.771 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/6.183, allocations: 12.38 kB / 2.771 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/6.185, allocations: 0.7204 MB / 2.772 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/6.188, allocations: 497.6 kB / 2.772 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/6.191, allocations: 1.796 MB / 2.774 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006108/6.197, allocations: 0.5186 MB / 2.774 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004764/6.197, allocations: 102 kB / 2.774 GB, free: 134 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/6.197, allocations: 11.17 kB / 2.774 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008395/6.206, allocations: 2.579 MB / 2.777 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/6.206, allocations: 13.5 kB / 2.777 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/6.208, allocations: 0.7209 MB / 2.778 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/6.211, allocations: 485.7 kB / 2.778 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/6.213, allocations: 1.797 MB / 2.78 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005623/6.219, allocations: 438.2 kB / 2.78 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005829/6.219, allocations: 105.8 kB / 2.78 GB, free: 132.8 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 () * 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002816/6.222, allocations: 0.6911 MB / 2.781 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/6.223, allocations: 276 kB / 2.781 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009099/6.232, allocations: 2.279 MB / 2.784 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/6.232, allocations: 17.78 kB / 2.784 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/6.232, allocations: 3.938 kB / 2.784 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007802/6.24, allocations: 2.059 MB / 2.786 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/6.256, allocations: 6.988 MB / 2.792 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/6.256, allocations: 13.16 kB / 2.792 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/6.258, allocations: 292.9 kB / 2.793 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/6.261, allocations: 0.7094 MB / 2.793 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/6.261, allocations: 50.8 kB / 2.793 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/6.263, allocations: 1.793 MB / 2.795 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/6.263, allocations: 10.12 kB / 2.795 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/6.274, allocations: 4.105 MB / 2.799 GB, free: 127.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/6.276, allocations: 0.6542 MB / 2.8 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000718/6.277, allocations: 35.81 kB / 2.8 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003605/6.281, allocations: 284.3 kB / 2.8 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/6.281, allocations: 107.1 kB / 2.8 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/6.281, allocations: 72.78 kB / 2.8 GB, free: 127.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003149/6.284, allocations: 1.826 MB / 2.802 GB, free: 127.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.284, allocations: 0 / 2.802 GB, free: 127.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006975/6.291, allocations: 1.844 MB / 2.804 GB, free: 127 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) * 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003244/6.295, allocations: 1.484 MB / 2.805 GB, free: 126.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01172/6.306, allocations: 3.492 MB / 2.809 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.946e-05/6.306, allocations: 7.219 kB / 2.809 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003494/6.31, allocations: 1.034 MB / 2.81 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00775/6.318, allocations: 1.39 MB / 2.811 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/6.332, allocations: 6.099 MB / 2.817 GB, free: 124 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/6.334, allocations: 1.763 MB / 2.819 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004176/6.338, allocations: 0.6906 MB / 2.819 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007561/6.339, allocations: 232.7 kB / 2.82 GB, free: 123.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.372e-06/6.339, allocations: 2.719 kB / 2.82 GB, free: 123.2 MB / 1.167 GB Notification: Performance of Templates: time 0.1104/6.449, allocations: 71.67 MB / 2.89 GB, free: 119.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches