Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0008611/0.0008614, allocations: 92.16 kB / 16.02 MB, free: 80 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.001116/0.001116, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7668, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1234/0.8903, allocations: 123.4 MB / 1.144 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02279/0.9131, allocations: 15.41 MB / 1.159 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.9163, allocations: 63.56 kB / 1.159 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.919, allocations: 0.7965 MB / 1.16 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00767/0.9267, allocations: 2.385 MB / 1.162 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005744/0.9325, allocations: 1.921 MB / 1.164 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00786/0.9403, allocations: 6.019 MB / 1.17 GB, free: 9.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.9432, allocations: 1.358 MB / 1.171 GB, free: 8.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.9468, allocations: 1.485 MB / 1.173 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.949, allocations: 1.24 MB / 1.174 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.9492, allocations: 72 kB / 1.174 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004256/0.9535, allocations: 1.795 MB / 1.176 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004436/0.954, allocations: 374.3 kB / 1.176 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.9552, allocations: 0.9499 MB / 1.177 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.959, allocations: 2.771 MB / 1.18 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.959, allocations: 4 kB / 1.18 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.926e-06/0.959, allocations: 0 / 1.18 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.644e-05/0.9591, allocations: 0 / 1.18 GB, free: 15.32 MB / 0.9356 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.004212/0.9633, allocations: 2.062 MB / 1.182 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.9634, allocations: 8.031 kB / 1.182 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.969, allocations: 0.7517 MB / 1.183 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.9721, allocations: 1.662 MB / 1.184 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.9723, allocations: 144.1 kB / 1.184 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.9725, allocations: 124 kB / 1.185 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/0.9767, allocations: 1.747 MB / 1.186 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.9768, allocations: 3.938 kB / 1.186 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.9769, allocations: 56 kB / 1.186 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.977, allocations: 35.98 kB / 1.186 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004807/0.9818, allocations: 1.539 MB / 1.188 GB, free: 6.953 MB / 0.9356 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.01091/0.9927, allocations: 7.572 MB / 1.195 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004119/0.9969, allocations: 1.194 MB / 1.196 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.9989, allocations: 0.6105 MB / 1.197 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/1, allocations: 1.275 MB / 1.198 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002308/1.003, allocations: 0.703 MB / 1.199 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=80): time 4.759e-06/1.003, allocations: 0 / 1.199 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=80): time 0.01858/1.021, allocations: 3.261 MB / 1.202 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/1.021, allocations: 141.2 kB / 1.202 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/1.023, allocations: 1.271 MB / 1.204 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/1.024, allocations: 49.7 kB / 1.204 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/1.024, allocations: 0.7154 MB / 1.204 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/1.025, allocations: 280 kB / 1.205 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/1.025, allocations: 81.67 kB / 1.205 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.025, allocations: 345.9 kB / 1.205 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/1.027, allocations: 0.5367 MB / 1.205 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/1.029, allocations: 0.815 MB / 1.206 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/1.033, allocations: 1.26 MB / 1.207 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.033, allocations: 0 / 1.207 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00521/1.038, allocations: 1.687 MB / 1.209 GB, free: 164 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002357/1.038, allocations: 273.5 kB / 1.209 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.038, allocations: 11.98 kB / 1.209 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/1.04, allocations: 0.5704 MB / 1.21 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.042, allocations: 251.6 kB / 1.21 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/1.044, allocations: 1.178 MB / 1.211 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.046, allocations: 234.8 kB / 1.212 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.046, allocations: 59.94 kB / 1.212 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.046, allocations: 4 kB / 1.212 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004764/1.051, allocations: 1.511 MB / 1.213 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.051, allocations: 11.98 kB / 1.213 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/1.053, allocations: 0.5681 MB / 1.214 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.054, allocations: 251.6 kB / 1.214 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/1.056, allocations: 1.181 MB / 1.215 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.058, allocations: 219 kB / 1.215 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.058, allocations: 51.95 kB / 1.215 GB, free: 9.668 MB / 0.9669 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.0009987/1.059, allocations: 484.7 kB / 1.216 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/1.059, allocations: 146.2 kB / 1.216 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/1.072, allocations: 2.169 MB / 1.218 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.072, allocations: 8 kB / 1.218 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.072, allocations: 3.938 kB / 1.218 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01215/1.084, allocations: 2.001 MB / 1.22 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008402/1.093, allocations: 3.676 MB / 1.224 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.093, allocations: 4.125 kB / 1.224 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.094, allocations: 187.7 kB / 1.224 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/1.096, allocations: 0.5592 MB / 1.224 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/1.096, allocations: 35.95 kB / 1.224 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.098, allocations: 1.162 MB / 1.225 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.098, allocations: 4 kB / 1.225 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/1.103, allocations: 1.62 MB / 1.227 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009075/1.104, allocations: 406.9 kB / 1.227 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/1.104, allocations: 20 kB / 1.227 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.106, allocations: 163.7 kB / 1.228 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.106, allocations: 56.47 kB / 1.228 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.106, allocations: 55.92 kB / 1.228 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00132/1.107, allocations: 0.8673 MB / 1.229 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/1.107, allocations: 0 / 1.229 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002542/1.11, allocations: 0.9665 MB / 1.23 GB, free: 10.77 MB / 0.9825 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.002068/1.112, allocations: 0.8706 MB / 1.23 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00683/1.119, allocations: 2.057 MB / 1.232 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.119, allocations: 3.906 kB / 1.232 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/1.121, allocations: 0.64 MB / 1.233 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/1.125, allocations: 0.7559 MB / 1.234 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/1.131, allocations: 3.423 MB / 1.237 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008578/1.132, allocations: 1.259 MB / 1.238 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/1.133, allocations: 159.3 kB / 1.238 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of SimCode: time 2.915e-06/1.133, allocations: 0 / 1.238 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of Templates: time 0.6198/1.752, allocations: 37.03 MB / 1.275 GB, free: 218.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches