Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001082/0.001082, allocations: 172.8 kB / 487.4 MB, free: 5.035 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.5/1.5, allocations: 221.5 MB / 0.7824 GB, free: 1.016 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.0009307/0.0009306, allocations: 95.84 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.557e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2937, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.466, allocations: 436.2 MB / 1.632 GB, free: 2.598 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.466, allocations: 89.95 kB / 1.632 GB, free: 2.555 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.926/5.392, allocations: 1.062 GB / 2.694 GB, free: 151 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.774e-06/5.392, allocations: 0 / 2.694 GB, free: 151 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004719/5.393, allocations: 85.03 kB / 2.694 GB, free: 151 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.009246/5.402, allocations: 3.183 MB / 2.697 GB, free: 149.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/5.402, allocations: 7.844 kB / 2.697 GB, free: 149.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009943/5.412, allocations: 1.319 MB / 2.698 GB, free: 149.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00863/5.42, allocations: 3.31 MB / 2.701 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/5.421, allocations: 174.3 kB / 2.701 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008006/5.422, allocations: 137.9 kB / 2.702 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004914/5.427, allocations: 2.015 MB / 2.704 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004101/5.431, allocations: 2.504 MB / 2.706 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/5.431, allocations: 7.312 kB / 2.706 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/5.431, allocations: 7.031 kB / 2.706 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.096e-05/5.431, allocations: 68.5 kB / 2.706 GB, free: 148.7 MB / 1.151 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.01717/5.448, allocations: 12.97 MB / 2.719 GB, free: 143 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/5.45, allocations: 1.181 MB / 2.72 GB, free: 142.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/5.45, allocations: 0.6034 MB / 2.72 GB, free: 142.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/5.452, allocations: 1.779 MB / 2.722 GB, free: 140.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/5.453, allocations: 0.9433 MB / 2.723 GB, free: 140.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 2.935e-06/5.453, allocations: 3.406 kB / 2.723 GB, free: 140.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=122): time 0.02107/5.474, allocations: 10.55 MB / 2.733 GB, free: 134.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003267/5.474, allocations: 0.9416 MB / 2.734 GB, free: 133.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/5.477, allocations: 1.842 MB / 2.736 GB, free: 133.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003722/5.478, allocations: 36.75 kB / 2.736 GB, free: 133.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/5.479, allocations: 1.376 MB / 2.738 GB, free: 132.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/5.479, allocations: 411.6 kB / 2.738 GB, free: 132.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/5.479, allocations: 0 / 2.738 GB, free: 132.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/5.479, allocations: 368.6 kB / 2.738 GB, free: 132 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/5.48, allocations: 0.6095 MB / 2.739 GB, free: 132 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/5.481, allocations: 1.214 MB / 2.74 GB, free: 131.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/5.485, allocations: 0.9691 MB / 2.741 GB, free: 131.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/5.485, allocations: 6.062 kB / 2.741 GB, free: 131.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005938/5.491, allocations: 2.393 MB / 2.743 GB, free: 131 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008671/5.492, allocations: 5.129 MB / 2.748 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/5.492, allocations: 11.81 kB / 2.748 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/5.493, allocations: 0.8967 MB / 2.749 GB, free: 125.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/5.496, allocations: 452.4 kB / 2.75 GB, free: 125.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/5.499, allocations: 2.332 MB / 2.752 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005306/5.505, allocations: 371 kB / 2.752 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/5.505, allocations: 101.5 kB / 2.752 GB, free: 124.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/5.505, allocations: 3.844 kB / 2.752 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00522/5.51, allocations: 2.122 MB / 2.754 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/5.51, allocations: 13.53 kB / 2.754 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/5.512, allocations: 0.8873 MB / 2.755 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/5.514, allocations: 434.9 kB / 2.756 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/5.517, allocations: 2.323 MB / 2.758 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/5.521, allocations: 313.7 kB / 2.758 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/5.522, allocations: 104.5 kB / 2.758 GB, free: 123.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (148): * Single equations (assignments): 145 * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004825/5.522, allocations: 155.5 kB / 2.759 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/5.523, allocations: 243.6 kB / 2.759 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006303/5.529, allocations: 1.894 MB / 2.761 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/5.529, allocations: 20.09 kB / 2.761 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/5.529, allocations: 3.219 kB / 2.761 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005228/5.534, allocations: 1.704 MB / 2.762 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/5.545, allocations: 6.264 MB / 2.768 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/5.545, allocations: 8.625 kB / 2.768 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/5.546, allocations: 269.7 kB / 2.769 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/5.548, allocations: 0.7745 MB / 2.769 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/5.548, allocations: 42.11 kB / 2.77 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/5.55, allocations: 2.08 MB / 2.772 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/5.55, allocations: 14.02 kB / 2.772 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007422/5.557, allocations: 3.41 MB / 2.775 GB, free: 118.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/5.559, allocations: 0.61 MB / 2.776 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004331/5.56, allocations: 24.48 kB / 2.776 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/5.563, allocations: 264.2 kB / 2.776 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/5.563, allocations: 107.9 kB / 2.776 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/5.563, allocations: 70.09 kB / 2.776 GB, free: 118.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001815/5.565, allocations: 1.381 MB / 2.777 GB, free: 118.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.21e-07/5.565, allocations: 0 / 2.777 GB, free: 118.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005612/5.57, allocations: 1.562 MB / 2.779 GB, free: 117.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002569/5.573, allocations: 1.501 MB / 2.78 GB, free: 117.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004185/5.577, allocations: 2.687 MB / 2.783 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/5.577, allocations: 4.562 kB / 2.783 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/5.579, allocations: 0.7638 MB / 2.784 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005416/5.584, allocations: 1.077 MB / 2.785 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/5.591, allocations: 3.543 MB / 2.788 GB, free: 116.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/5.592, allocations: 1.77 MB / 2.79 GB, free: 115.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003764/5.596, allocations: 0.7144 MB / 2.791 GB, free: 115.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/5.597, allocations: 166.8 kB / 2.791 GB, free: 115.4 MB / 1.151 GB Notification: Performance of SimCode: time 9.21e-07/5.597, allocations: 2.219 kB / 2.791 GB, free: 115.4 MB / 1.151 GB Notification: Performance of Templates: time 0.08884/5.685, allocations: 66.58 MB / 2.856 GB, free: 112 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches