Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001165/0.001165, allocations: 176.9 kB / 492.3 MB, free: 0.6289 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.484/1.484, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.001089/0.001089, allocations: 91.88 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.853e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2808, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.419, allocations: 436.4 MB / 1.639 GB, free: 10.33 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/1.419, allocations: 90.23 kB / 1.639 GB, free: 10.29 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.415/5.834, allocations: 1.067 GB / 2.706 GB, free: 160 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.184e-06/5.835, allocations: 0 / 2.706 GB, free: 160 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003474/5.835, allocations: 80.33 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009542/5.844, allocations: 3.213 MB / 2.709 GB, free: 158.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/5.844, allocations: 8.625 kB / 2.709 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008913/5.853, allocations: 1.213 MB / 2.71 GB, free: 158.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007991/5.861, allocations: 3.324 MB / 2.714 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/5.862, allocations: 245.5 kB / 2.714 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006296/5.862, allocations: 234.1 kB / 2.714 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/5.867, allocations: 2.832 MB / 2.717 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/5.867, allocations: 10.08 kB / 2.717 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/5.868, allocations: 101.1 kB / 2.717 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.868e-05/5.868, allocations: 99.31 kB / 2.717 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/5.871, allocations: 2.143 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.02117/5.893, allocations: 13.35 MB / 2.732 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/5.895, allocations: 1.198 MB / 2.733 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/5.896, allocations: 0.6076 MB / 2.734 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/5.898, allocations: 1.773 MB / 2.736 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/5.899, allocations: 0.9486 MB / 2.737 GB, free: 149.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.837e-06/5.899, allocations: 0 / 2.737 GB, free: 149.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.01637/5.916, allocations: 10.06 MB / 2.746 GB, free: 143.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002265/5.916, allocations: 0.94 MB / 2.747 GB, free: 142.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/5.919, allocations: 2.341 MB / 2.75 GB, free: 142 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003765/5.92, allocations: 59.39 kB / 2.75 GB, free: 142 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/5.921, allocations: 1.365 MB / 2.751 GB, free: 141.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/5.921, allocations: 421.7 kB / 2.751 GB, free: 141.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/5.921, allocations: 34.31 kB / 2.751 GB, free: 141.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001048/5.921, allocations: 367.9 kB / 2.752 GB, free: 140.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/5.923, allocations: 0.6043 MB / 2.752 GB, free: 140.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/5.924, allocations: 1.237 MB / 2.754 GB, free: 140.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/5.925, allocations: 0.7641 MB / 2.754 GB, free: 140.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.669e-06/5.925, allocations: 9.516 kB / 2.754 GB, free: 140.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004112/5.929, allocations: 2.31 MB / 2.757 GB, free: 139.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000943/5.93, allocations: 5.256 MB / 2.762 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/5.93, allocations: 11.69 kB / 2.762 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/5.933, allocations: 0.8771 MB / 2.763 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/5.935, allocations: 457.2 kB / 2.763 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/5.938, allocations: 2.159 MB / 2.765 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/5.943, allocations: 427.6 kB / 2.766 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/5.943, allocations: 111.4 kB / 2.766 GB, free: 133.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/5.943, allocations: 3.656 kB / 2.766 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003438/5.947, allocations: 2.027 MB / 2.768 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/5.947, allocations: 11.03 kB / 2.768 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/5.949, allocations: 0.8763 MB / 2.769 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/5.952, allocations: 438.5 kB / 2.769 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/5.954, allocations: 2.174 MB / 2.771 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004656/5.959, allocations: 359.5 kB / 2.771 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000407/5.959, allocations: 107 kB / 2.772 GB, free: 132.1 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 (152): * Single equations (assignments): 149 * 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 22,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.000768/5.96, allocations: 222.2 kB / 2.772 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/5.961, allocations: 283 kB / 2.772 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/5.966, allocations: 1.721 MB / 2.774 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/5.966, allocations: 14 kB / 2.774 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/5.966, allocations: 7.562 kB / 2.774 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003241/5.969, allocations: 1.484 MB / 2.775 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/5.983, allocations: 6.302 MB / 2.781 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/5.983, allocations: 6.688 kB / 2.781 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/5.985, allocations: 281 kB / 2.782 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/5.987, allocations: 0.7211 MB / 2.782 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/5.987, allocations: 48.55 kB / 2.782 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/5.99, allocations: 1.935 MB / 2.784 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/5.99, allocations: 8.875 kB / 2.784 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005052/5.995, allocations: 3.262 MB / 2.787 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/5.997, allocations: 0.6533 MB / 2.788 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/5.998, allocations: 35.28 kB / 2.788 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004291/6.003, allocations: 277 kB / 2.788 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/6.003, allocations: 114.2 kB / 2.788 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/6.003, allocations: 71.3 kB / 2.789 GB, free: 126.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004288/6.007, allocations: 1.825 MB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.41e-07/6.007, allocations: 0 / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009691/6.017, allocations: 1.654 MB / 2.792 GB, free: 126.5 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 (80): * Single equations (assignments): 74 * 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,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004199/6.021, allocations: 1.486 MB / 2.793 GB, free: 126.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008027/6.029, allocations: 2.969 MB / 2.796 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/6.03, allocations: 3.656 kB / 2.796 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002455/6.032, allocations: 0.8776 MB / 2.797 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00927/6.041, allocations: 1.498 MB / 2.799 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/6.053, allocations: 3.883 MB / 2.802 GB, free: 124.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/6.055, allocations: 1.774 MB / 2.804 GB, free: 124 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005853/6.061, allocations: 0.8459 MB / 2.805 GB, free: 124 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006221/6.062, allocations: 185.3 kB / 2.805 GB, free: 124 MB / 1.167 GB Notification: Performance of SimCode: time 7.31e-07/6.062, allocations: 0 / 2.805 GB, free: 124 MB / 1.167 GB Notification: Performance of Templates: time 0.1111/6.173, allocations: 81.46 MB / 2.885 GB, free: 119.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches