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.407/2.407, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001071/0.001071, allocations: 180.9 kB / 492.3 MB, free: 0.6211 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.602/1.602, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009166/0.0009164, allocations: 99.16 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.544e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2919, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.54, allocations: 436.9 MB / 1.639 GB, free: 9.883 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.54, allocations: 95.06 kB / 1.639 GB, free: 9.836 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.388/5.929, allocations: 1.067 GB / 2.706 GB, free: 160 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.453e-06/5.929, allocations: 0 / 2.706 GB, free: 160 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000335/5.929, allocations: 84.81 kB / 2.706 GB, free: 160 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.008392/5.938, allocations: 3.172 MB / 2.709 GB, free: 158.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/5.938, allocations: 11.69 kB / 2.709 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/5.948, allocations: 1.316 MB / 2.71 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007628/5.956, allocations: 3.313 MB / 2.714 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/5.956, allocations: 251.7 kB / 2.714 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004982/5.957, allocations: 232.2 kB / 2.714 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004775/5.962, allocations: 2.834 MB / 2.717 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/5.962, allocations: 12.94 kB / 2.717 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/5.962, allocations: 105 kB / 2.717 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/5.962, allocations: 64.58 kB / 2.717 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/5.966, allocations: 2.167 MB / 2.719 GB, free: 157.6 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.01775/5.983, allocations: 13.51 MB / 2.732 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/5.985, allocations: 1.221 MB / 2.733 GB, free: 151.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/5.986, allocations: 0.6405 MB / 2.734 GB, free: 151.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/5.987, allocations: 1.78 MB / 2.736 GB, free: 149.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/5.989, allocations: 0.979 MB / 2.737 GB, free: 149.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.317e-06/5.989, allocations: 0 / 2.737 GB, free: 149.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.0147/6.003, allocations: 10.11 MB / 2.747 GB, free: 143.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002251/6.004, allocations: 0.9427 MB / 2.748 GB, free: 142.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003286/6.007, allocations: 2.338 MB / 2.75 GB, free: 141.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002531/6.007, allocations: 61.45 kB / 2.75 GB, free: 141.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/6.008, allocations: 1.356 MB / 2.751 GB, free: 141.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/6.008, allocations: 428.5 kB / 2.752 GB, free: 141.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/6.009, allocations: 35.91 kB / 2.752 GB, free: 141.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001026/6.009, allocations: 370.2 kB / 2.752 GB, free: 140.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/6.01, allocations: 0.6318 MB / 2.753 GB, free: 140.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/6.011, allocations: 1.259 MB / 2.754 GB, free: 140.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/6.012, allocations: 0.7788 MB / 2.755 GB, free: 140.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/6.012, allocations: 3.562 kB / 2.755 GB, free: 140.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004019/6.016, allocations: 2.37 MB / 2.757 GB, free: 139.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009086/6.017, allocations: 5.259 MB / 2.762 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/6.017, allocations: 10.78 kB / 2.762 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/6.02, allocations: 1.069 MB / 2.763 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/6.022, allocations: 453.7 kB / 2.764 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/6.025, allocations: 2.186 MB / 2.766 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/6.03, allocations: 434 kB / 2.766 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/6.03, allocations: 114.2 kB / 2.766 GB, free: 133.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/6.03, allocations: 5.469 kB / 2.766 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003247/6.033, allocations: 2.087 MB / 2.768 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/6.033, allocations: 13.62 kB / 2.768 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/6.036, allocations: 1.052 MB / 2.769 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/6.038, allocations: 434.9 kB / 2.77 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/6.04, allocations: 2.198 MB / 2.772 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/6.045, allocations: 379.6 kB / 2.772 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/6.045, allocations: 104 kB / 2.772 GB, free: 132 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.0005505/6.046, allocations: 219.8 kB / 2.773 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/6.046, allocations: 293.8 kB / 2.773 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004679/6.051, allocations: 1.777 MB / 2.775 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/6.051, allocations: 18.45 kB / 2.775 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/6.051, allocations: 6.531 kB / 2.775 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003547/6.055, allocations: 1.525 MB / 2.776 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009911/6.064, allocations: 6.445 MB / 2.782 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/6.065, allocations: 6.219 kB / 2.782 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/6.066, allocations: 274.1 kB / 2.783 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/6.069, allocations: 0.8785 MB / 2.784 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/6.069, allocations: 56.47 kB / 2.784 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/6.071, allocations: 1.973 MB / 2.785 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/6.071, allocations: 9.5 kB / 2.785 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/6.076, allocations: 3.427 MB / 2.789 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/6.078, allocations: 0.6632 MB / 2.789 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008128/6.079, allocations: 36.25 kB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/6.083, allocations: 296.9 kB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/6.083, allocations: 103 kB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/6.083, allocations: 77.05 kB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002826/6.086, allocations: 1.818 MB / 2.792 GB, free: 126.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.2e-07/6.086, allocations: 6.531 kB / 2.792 GB, free: 126.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005862/6.092, allocations: 1.648 MB / 2.793 GB, free: 126.4 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.002673/6.095, allocations: 1.5 MB / 2.795 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005746/6.1, allocations: 2.844 MB / 2.798 GB, free: 125.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/6.101, allocations: 7.781 kB / 2.798 GB, free: 125.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/6.102, allocations: 0.8081 MB / 2.798 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007741/6.11, allocations: 1.49 MB / 2.8 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/6.117, allocations: 3.676 MB / 2.803 GB, free: 124.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/6.118, allocations: 1.774 MB / 2.805 GB, free: 123.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00427/6.123, allocations: 0.8336 MB / 2.806 GB, free: 123.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/6.123, allocations: 186 kB / 2.806 GB, free: 123.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/6.123, allocations: 2.344 kB / 2.806 GB, free: 123.8 MB / 1.167 GB Notification: Performance of Templates: time 0.1172/6.24, allocations: 84.09 MB / 2.888 GB, free: 119.7 MB / 1.167 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