Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.255/2.255, allocations: 390.5 MB / 398 MB, free: 10.98 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.001049/0.00105, allocations: 179.5 kB / 491.2 MB, free: 1.598 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.676/1.676, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001087/0.001088, allocations: 82.53 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.077e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.694, allocations: 437 MB / 1.639 GB, free: 10.11 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.695, allocations: 95.12 kB / 1.639 GB, free: 10.07 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.283/5.978, allocations: 1.062 GB / 2.701 GB, free: 160.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/5.978, allocations: 0 / 2.701 GB, free: 160.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003455/5.978, allocations: 80.34 kB / 2.701 GB, free: 160.2 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007303/5.986, allocations: 3.179 MB / 2.704 GB, free: 159.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/5.986, allocations: 10.94 kB / 2.704 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009333/5.995, allocations: 1.319 MB / 2.705 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006869/6.002, allocations: 3.312 MB / 2.708 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/6.002, allocations: 166.8 kB / 2.709 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/6.003, allocations: 141.9 kB / 2.709 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003484/6.006, allocations: 2.013 MB / 2.711 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/6.01, allocations: 2.511 MB / 2.713 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/6.01, allocations: 6.5 kB / 2.713 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/6.01, allocations: 7.812 kB / 2.713 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/6.01, allocations: 72.12 kB / 2.713 GB, free: 157.9 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.01971/6.03, allocations: 12.97 MB / 2.726 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/6.032, allocations: 1.171 MB / 2.727 GB, free: 152 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/6.032, allocations: 0.6059 MB / 2.728 GB, free: 152 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/6.034, allocations: 1.783 MB / 2.729 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/6.035, allocations: 0.9403 MB / 2.73 GB, free: 149.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.867e-06/6.035, allocations: 0 / 2.73 GB, free: 149.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.02149/6.057, allocations: 10.57 MB / 2.741 GB, free: 143.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/6.057, allocations: 0.9383 MB / 2.741 GB, free: 142.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/6.059, allocations: 1.835 MB / 2.743 GB, free: 142.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002518/6.06, allocations: 35.42 kB / 2.743 GB, free: 142.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/6.061, allocations: 1.384 MB / 2.745 GB, free: 141.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/6.061, allocations: 412.6 kB / 2.745 GB, free: 141.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/6.061, allocations: 0 / 2.745 GB, free: 141.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/6.061, allocations: 369.2 kB / 2.745 GB, free: 141.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008927/6.062, allocations: 0.6027 MB / 2.746 GB, free: 141.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/6.063, allocations: 1.219 MB / 2.747 GB, free: 140.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/6.067, allocations: 0.9644 MB / 2.748 GB, free: 140.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/6.067, allocations: 0 / 2.748 GB, free: 140.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005949/6.073, allocations: 2.406 MB / 2.75 GB, free: 140.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000979/6.074, allocations: 5.119 MB / 2.755 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/6.074, allocations: 15.06 kB / 2.756 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/6.075, allocations: 0.8951 MB / 2.756 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/6.078, allocations: 447.6 kB / 2.757 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/6.081, allocations: 2.324 MB / 2.759 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004826/6.086, allocations: 370.4 kB / 2.759 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/6.086, allocations: 109.5 kB / 2.76 GB, free: 133.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/6.086, allocations: 3.969 kB / 2.76 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005705/6.092, allocations: 2.124 MB / 2.762 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/6.092, allocations: 14.16 kB / 2.762 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/6.093, allocations: 0.8878 MB / 2.762 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/6.096, allocations: 431.9 kB / 2.763 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/6.098, allocations: 2.331 MB / 2.765 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/6.103, allocations: 315.8 kB / 2.765 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/6.103, allocations: 103.9 kB / 2.766 GB, free: 132.5 MB / 1.167 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.0005301/6.103, allocations: 155.2 kB / 2.766 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/6.104, allocations: 249.4 kB / 2.766 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006362/6.11, allocations: 1.874 MB / 2.768 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/6.11, allocations: 21.22 kB / 2.768 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/6.11, allocations: 7.719 kB / 2.768 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005293/6.116, allocations: 1.708 MB / 2.769 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/6.126, allocations: 6.261 MB / 2.776 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/6.126, allocations: 8.375 kB / 2.776 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/6.127, allocations: 268.5 kB / 2.776 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/6.129, allocations: 0.7762 MB / 2.777 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/6.129, allocations: 40.83 kB / 2.777 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/6.131, allocations: 2.079 MB / 2.779 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/6.131, allocations: 13.89 kB / 2.779 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007453/6.139, allocations: 3.409 MB / 2.782 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/6.14, allocations: 0.6197 MB / 2.783 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004095/6.14, allocations: 14.06 kB / 2.783 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/6.143, allocations: 264.2 kB / 2.783 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/6.144, allocations: 106 kB / 2.783 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/6.144, allocations: 69.11 kB / 2.783 GB, free: 127.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001916/6.146, allocations: 1.379 MB / 2.784 GB, free: 127.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/6.146, allocations: 3.25 kB / 2.784 GB, free: 127.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005712/6.151, allocations: 1.561 MB / 2.786 GB, free: 127.2 MB / 1.167 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.003068/6.154, allocations: 1.503 MB / 2.787 GB, free: 126.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004527/6.159, allocations: 2.681 MB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/6.159, allocations: 4.5 kB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/6.16, allocations: 0.7743 MB / 2.791 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/6.166, allocations: 1.078 MB / 2.792 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/6.173, allocations: 3.534 MB / 2.795 GB, free: 125.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/6.174, allocations: 1.774 MB / 2.797 GB, free: 124.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003872/6.178, allocations: 0.7056 MB / 2.798 GB, free: 124.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/6.178, allocations: 172.2 kB / 2.798 GB, free: 124.6 MB / 1.167 GB Notification: Performance of SimCode: time 4.81e-07/6.178, allocations: 0 / 2.798 GB, free: 124.6 MB / 1.167 GB Notification: Performance of Templates: time 0.09039/6.269, allocations: 66.57 MB / 2.863 GB, free: 121.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches