Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009206/0.0009205, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007358/0.007358, allocations: 170.7 kB / 16.27 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003284, allocations: 12 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.618, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1118/0.7298, allocations: 113 MB / 1.133 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02993/0.7598, allocations: 20.72 MB / 1.154 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004619/0.7645, allocations: 99.38 kB / 1.154 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004833/0.7693, allocations: 1.375 MB / 1.155 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.7819, allocations: 3.698 MB / 1.159 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007606/0.7895, allocations: 2.613 MB / 1.161 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01273/0.8023, allocations: 10.43 MB / 1.171 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/0.8066, allocations: 2.206 MB / 1.174 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.8123, allocations: 2.469 MB / 1.176 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/0.8165, allocations: 2.248 MB / 1.178 GB, free: 476 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000936/0.8175, allocations: 136 kB / 1.178 GB, free: 340 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.8227, allocations: 1.816 MB / 1.18 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.824, allocations: 0.7431 MB / 1.181 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003122/0.8271, allocations: 1.642 MB / 1.182 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008015/0.8351, allocations: 5.268 MB / 1.188 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8352, allocations: 0 / 1.188 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8352, allocations: 0 / 1.188 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001273/0.8353, allocations: 0 / 1.188 GB, free: 6.824 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.008316/0.8437, allocations: 3.229 MB / 1.191 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.8437, allocations: 8.031 kB / 1.191 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/0.8472, allocations: 0.6485 MB / 1.191 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/0.8528, allocations: 2.579 MB / 1.194 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.8534, allocations: 306.6 kB / 1.194 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006172/0.854, allocations: 203.9 kB / 1.194 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006515/0.8605, allocations: 2.61 MB / 1.197 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.758e-05/0.8606, allocations: 7.938 kB / 1.197 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/0.861, allocations: 88 kB / 1.197 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/0.8611, allocations: 63.92 kB / 1.197 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005717/0.8669, allocations: 2.301 MB / 1.199 GB, free: 10.5 MB / 0.9512 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.01876/0.8857, allocations: 11.48 MB / 1.211 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.8888, allocations: 1.356 MB / 1.212 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.8907, allocations: 0.847 MB / 1.213 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.8919, allocations: 1.327 MB / 1.214 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002609/0.8946, allocations: 1.095 MB / 1.215 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=115): time 7.243e-06/0.8946, allocations: 0 / 1.215 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=115): time 0.006825/0.9015, allocations: 2.497 MB / 1.217 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002406/0.9017, allocations: 483.6 kB / 1.218 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005349/0.9071, allocations: 2.674 MB / 1.221 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/0.9075, allocations: 57.7 kB / 1.221 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.9091, allocations: 1.311 MB / 1.222 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007004/0.9098, allocations: 410.2 kB / 1.222 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/0.9102, allocations: 133.6 kB / 1.222 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.9103, allocations: 313 kB / 1.223 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.9125, allocations: 0.8003 MB / 1.223 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.9151, allocations: 1.344 MB / 1.225 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004131/0.9192, allocations: 1.938 MB / 1.227 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.9192, allocations: 4 kB / 1.227 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00584/0.9251, allocations: 2.327 MB / 1.229 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003784/0.9255, allocations: 428 kB / 1.229 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.9256, allocations: 12 kB / 1.229 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.861e-05/0.9256, allocations: 20 kB / 1.229 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/0.9287, allocations: 427.3 kB / 1.23 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.013e-05/0.9287, allocations: 31.86 kB / 1.23 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/0.9322, allocations: 333.7 kB / 1.23 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/0.9324, allocations: 67.97 kB / 1.23 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.9324, allocations: 4 kB / 1.23 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004818/0.9373, allocations: 2.055 MB / 1.232 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.9373, allocations: 16.19 kB / 1.232 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.9373, allocations: 16 kB / 1.232 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.9392, allocations: 423.3 kB / 1.233 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-05/0.9393, allocations: 27.92 kB / 1.233 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/0.942, allocations: 302.2 kB / 1.233 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.9422, allocations: 75.97 kB / 1.233 GB, free: 6.379 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001459/0.9437, allocations: 0.6879 MB / 1.234 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008217/0.9445, allocations: 284.5 kB / 1.234 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/0.9495, allocations: 2.168 MB / 1.236 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.9496, allocations: 19.98 kB / 1.236 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.9496, allocations: 0 / 1.236 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003677/0.9533, allocations: 1.723 MB / 1.238 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.9639, allocations: 5.284 MB / 1.243 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.964, allocations: 8 kB / 1.243 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.9655, allocations: 288.3 kB / 1.243 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/0.9655, allocations: 8 kB / 1.243 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.9656, allocations: 35.98 kB / 1.243 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.717e-05/0.9656, allocations: 23.92 kB / 1.243 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.9657, allocations: 7.938 kB / 1.243 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006733/0.9724, allocations: 3.195 MB / 1.246 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/0.9742, allocations: 0.6222 MB / 1.247 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008311/0.975, allocations: 35.98 kB / 1.247 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/0.9775, allocations: 187.5 kB / 1.247 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.9779, allocations: 120.7 kB / 1.247 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/0.9781, allocations: 59.89 kB / 1.247 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003727/0.9818, allocations: 1.861 MB / 1.249 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9818, allocations: 0 / 1.249 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005055/0.9869, allocations: 1.431 MB / 1.251 GB, free: 4.012 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/0.9886, allocations: 0.6608 MB / 1.251 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00721/0.9958, allocations: 3.12 MB / 1.254 GB, free: 224 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.9958, allocations: 4.438 kB / 1.254 GB, free: 220 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.4671/1.463, allocations: 0.958 MB / 1.255 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/1.473, allocations: 1.384 MB / 1.257 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009412/1.483, allocations: 5.927 MB / 1.262 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/1.485, allocations: 1.762 MB / 1.264 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003843/1.488, allocations: 0.7096 MB / 1.265 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009575/1.489, allocations: 233.9 kB / 1.265 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.489, allocations: 0.5 kB / 1.265 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.08434/1.574, allocations: 57.43 MB / 1.321 GB, free: 178 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches