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.112/2.112, 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.00118/0.00118, allocations: 184.8 kB / 487.4 MB, free: 5.016 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.355/1.355, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0008675/0.0008674, allocations: 99.66 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.581e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9646/1.186, allocations: 435.6 MB / 1.631 GB, free: 3.156 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/1.186, allocations: 91.08 kB / 1.631 GB, free: 3.113 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907/5.093, allocations: 1.061 GB / 2.692 GB, free: 158.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.252e-06/5.093, allocations: 0 / 2.692 GB, free: 158.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004112/5.093, allocations: 83.77 kB / 2.692 GB, free: 158.6 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01051/5.104, allocations: 3.172 MB / 2.695 GB, free: 157.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/5.104, allocations: 8.906 kB / 2.695 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009674/5.114, allocations: 1.213 MB / 2.697 GB, free: 157.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008679/5.122, allocations: 3.307 MB / 2.7 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/5.123, allocations: 167.2 kB / 2.7 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/5.123, allocations: 144.9 kB / 2.7 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004404/5.128, allocations: 1.961 MB / 2.702 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004714/5.132, allocations: 2.46 MB / 2.704 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.857e-05/5.132, allocations: 7.344 kB / 2.704 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/5.133, allocations: 6.812 kB / 2.704 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.757e-05/5.133, allocations: 72.97 kB / 2.705 GB, free: 156.3 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.02273/5.156, allocations: 12.63 MB / 2.717 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/5.157, allocations: 1.123 MB / 2.718 GB, free: 150.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/5.158, allocations: 0.5893 MB / 2.719 GB, free: 150.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/5.159, allocations: 1.776 MB / 2.72 GB, free: 148.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/5.161, allocations: 0.922 MB / 2.721 GB, free: 148.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.607e-06/5.161, allocations: 0 / 2.721 GB, free: 148.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.007049/5.168, allocations: 1.834 MB / 2.723 GB, free: 148.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/5.168, allocations: 0.9348 MB / 2.724 GB, free: 147.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/5.171, allocations: 1.852 MB / 2.726 GB, free: 146.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004505/5.172, allocations: 35.39 kB / 2.726 GB, free: 146.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/5.173, allocations: 1.394 MB / 2.727 GB, free: 146.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/5.174, allocations: 401.3 kB / 2.727 GB, free: 146.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/5.174, allocations: 0 / 2.727 GB, free: 146.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001174/5.174, allocations: 367.6 kB / 2.728 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009182/5.175, allocations: 0.5983 MB / 2.728 GB, free: 145.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/5.176, allocations: 1.186 MB / 2.73 GB, free: 145.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/5.179, allocations: 0.9702 MB / 2.731 GB, free: 145.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/5.179, allocations: 3.281 kB / 2.731 GB, free: 145.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006568/5.186, allocations: 2.275 MB / 2.733 GB, free: 144.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001113/5.187, allocations: 4.942 MB / 2.738 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/5.187, allocations: 14.47 kB / 2.738 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/5.188, allocations: 0.53 MB / 2.738 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/5.191, allocations: 499 kB / 2.739 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/5.193, allocations: 1.781 MB / 2.74 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005934/5.199, allocations: 448.6 kB / 2.741 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003844/5.2, allocations: 104.3 kB / 2.741 GB, free: 138.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/5.2, allocations: 3.938 kB / 2.741 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00568/5.206, allocations: 1.986 MB / 2.743 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/5.206, allocations: 11.44 kB / 2.743 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/5.207, allocations: 0.5295 MB / 2.743 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/5.209, allocations: 489 kB / 2.744 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/5.211, allocations: 1.776 MB / 2.746 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/5.216, allocations: 363.4 kB / 2.746 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003106/5.216, allocations: 108.1 kB / 2.746 GB, free: 137.3 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006489/5.217, allocations: 169.3 kB / 2.746 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007711/5.218, allocations: 242.7 kB / 2.746 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006677/5.224, allocations: 1.833 MB / 2.748 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/5.224, allocations: 18.91 kB / 2.748 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/5.224, allocations: 9.484 kB / 2.748 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005452/5.23, allocations: 1.677 MB / 2.75 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/5.243, allocations: 6.252 MB / 2.756 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/5.243, allocations: 3.938 kB / 2.756 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/5.245, allocations: 295.1 kB / 2.756 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009961/5.246, allocations: 0.5193 MB / 2.757 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/5.246, allocations: 37.16 kB / 2.757 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/5.248, allocations: 1.767 MB / 2.758 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/5.248, allocations: 13.81 kB / 2.758 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007279/5.255, allocations: 3.291 MB / 2.762 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/5.257, allocations: 0.624 MB / 2.762 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006819/5.258, allocations: 21.16 kB / 2.762 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/5.262, allocations: 248.6 kB / 2.763 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/5.262, allocations: 113.4 kB / 2.763 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/5.262, allocations: 66.91 kB / 2.763 GB, free: 132.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002247/5.264, allocations: 1.385 MB / 2.764 GB, free: 132 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.1e-07/5.264, allocations: 5.156 kB / 2.764 GB, free: 132 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007497/5.272, allocations: 1.812 MB / 2.766 GB, free: 131.6 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003396/5.275, allocations: 1.488 MB / 2.767 GB, free: 131.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004876/5.28, allocations: 2.55 MB / 2.77 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/5.28, allocations: 7.25 kB / 2.77 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/5.282, allocations: 0.7399 MB / 2.771 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006992/5.289, allocations: 1.076 MB / 2.772 GB, free: 131 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/5.299, allocations: 3.864 MB / 2.775 GB, free: 129.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/5.3, allocations: 1.768 MB / 2.777 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004371/5.304, allocations: 0.7602 MB / 2.778 GB, free: 129.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/5.305, allocations: 174.9 kB / 2.778 GB, free: 129.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.092e-06/5.305, allocations: 0 / 2.778 GB, free: 129.1 MB / 1.167 GB Notification: Performance of Templates: time 0.09622/5.401, allocations: 62.71 MB / 2.839 GB, free: 125.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