Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 98.41 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 184.2 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 462.7 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003617, allocations: 11.97 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3521, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1189/0.4711, allocations: 123.4 MB / 1.18 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.4939, allocations: 15.41 MB / 1.195 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.4971, allocations: 63.56 kB / 1.195 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.5001, allocations: 0.7965 MB / 1.196 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008289/0.5084, allocations: 2.392 MB / 1.198 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005902/0.5143, allocations: 1.918 MB / 1.2 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008206/0.5226, allocations: 6.012 MB / 1.206 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.5251, allocations: 1.364 MB / 1.207 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.5289, allocations: 1.478 MB / 1.209 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.5313, allocations: 1.256 MB / 1.21 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003037/0.5316, allocations: 72 kB / 1.21 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004531/0.5362, allocations: 1.791 MB / 1.212 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005448/0.5367, allocations: 366.3 kB / 1.212 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.5383, allocations: 0.9499 MB / 1.213 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.5428, allocations: 2.782 MB / 1.216 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5428, allocations: 4 kB / 1.216 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5428, allocations: 0 / 1.216 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.66e-05/0.5429, allocations: 0 / 1.216 GB, free: 4.453 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.0042/0.5471, allocations: 2.05 MB / 1.218 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5471, allocations: 16.03 kB / 1.218 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/0.5529, allocations: 0.7439 MB / 1.218 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.5563, allocations: 1.673 MB / 1.22 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.5565, allocations: 132.1 kB / 1.22 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.5568, allocations: 124 kB / 1.22 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/0.5611, allocations: 1.751 MB / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.5611, allocations: 7.938 kB / 1.222 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.5613, allocations: 52 kB / 1.222 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.5613, allocations: 36 kB / 1.222 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004964/0.5663, allocations: 1.543 MB / 1.223 GB, free: 12.09 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01118/0.5775, allocations: 7.564 MB / 1.231 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.5817, allocations: 1.182 MB / 1.232 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.5837, allocations: 0.6077 MB / 1.233 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.5852, allocations: 1.275 MB / 1.234 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002358/0.5875, allocations: 0.7108 MB / 1.235 GB, free: 44 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 3.547e-06/0.5876, allocations: 0 / 1.235 GB, free: 44 kB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.01869/0.6062, allocations: 3.269 MB / 1.238 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.6064, allocations: 137.2 kB / 1.238 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.6084, allocations: 1.267 MB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.6086, allocations: 49.7 kB / 1.239 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000717/0.6093, allocations: 0.7192 MB / 1.24 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.6097, allocations: 284 kB / 1.24 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.6099, allocations: 77.67 kB / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.61, allocations: 345.9 kB / 1.241 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.6121, allocations: 0.5367 MB / 1.241 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.6143, allocations: 0.8177 MB / 1.242 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/0.6185, allocations: 1.256 MB / 1.243 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.6185, allocations: 4 kB / 1.243 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00567/0.6242, allocations: 1.687 MB / 1.245 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002147/0.6244, allocations: 273.5 kB / 1.245 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6245, allocations: 4 kB / 1.245 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/0.6266, allocations: 0.5711 MB / 1.246 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.628, allocations: 255.6 kB / 1.246 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.6302, allocations: 1.175 MB / 1.247 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.6325, allocations: 238.7 kB / 1.247 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.6327, allocations: 55.94 kB / 1.247 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.6327, allocations: 4 kB / 1.247 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005126/0.6378, allocations: 1.519 MB / 1.249 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.6379, allocations: 8 kB / 1.249 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.6399, allocations: 0.5596 MB / 1.249 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.6413, allocations: 251.6 kB / 1.25 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6619/1.303, allocations: 1.178 MB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/1.306, allocations: 223.3 kB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.306, allocations: 56.61 kB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009692/1.307, allocations: 477 kB / 1.251 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/1.307, allocations: 147.1 kB / 1.252 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.321, allocations: 2.171 MB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/1.321, allocations: 13.03 kB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.321, allocations: 0 / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01241/1.333, allocations: 2.001 MB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009687/1.343, allocations: 3.666 MB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.343, allocations: 2.969 kB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.344, allocations: 181.3 kB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/1.346, allocations: 0.5529 MB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/1.346, allocations: 36.8 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/1.349, allocations: 1.171 MB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.349, allocations: 1.062 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005405/1.354, allocations: 1.618 MB / 1.263 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.355, allocations: 412.3 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/1.355, allocations: 19 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.357, allocations: 162.8 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.357, allocations: 60.42 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.357, allocations: 56.38 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001793/1.359, allocations: 0.8632 MB / 1.264 GB, free: 182 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.32e-07/1.359, allocations: 4.219 kB / 1.264 GB, free: 182 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004031/1.363, allocations: 0.958 MB / 1.265 GB, free: 181.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002828/1.366, allocations: 0.8861 MB / 1.266 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008057/1.374, allocations: 2.057 MB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.374, allocations: 1.906 kB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002724/1.377, allocations: 0.634 MB / 1.269 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005084/1.382, allocations: 0.7524 MB / 1.269 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/1.389, allocations: 3.424 MB / 1.273 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009773/1.39, allocations: 1.251 MB / 1.274 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/1.391, allocations: 168.9 kB / 1.274 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.391, allocations: 0 / 1.274 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.05397/1.445, allocations: 37.05 MB / 1.31 GB, free: 157.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches