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.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.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.001/0.001, allocations: 98.88 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.001336/0.001335, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.262 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.688/2.688, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003749, allocations: 15.92 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7376, allocations: 153.8 MB / 1.024 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.127/0.8646, allocations: 113 MB / 1.134 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03039/0.8951, allocations: 20.72 MB / 1.154 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005157/0.9003, allocations: 99.38 kB / 1.154 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00523/0.9055, allocations: 1.379 MB / 1.156 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.9177, allocations: 3.689 MB / 1.159 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00803/0.9258, allocations: 2.616 MB / 1.162 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01371/0.9395, allocations: 10.42 MB / 1.172 GB, free: 7.613 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004895/0.9444, allocations: 2.218 MB / 1.174 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006469/0.9509, allocations: 2.469 MB / 1.177 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004621/0.9556, allocations: 2.252 MB / 1.179 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.9568, allocations: 136 kB / 1.179 GB, free: 480 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00573/0.9625, allocations: 1.805 MB / 1.181 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00163/0.9642, allocations: 0.7548 MB / 1.181 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003921/0.9682, allocations: 1.638 MB / 1.183 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006649/0.9748, allocations: 4.204 MB / 1.187 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.9749, allocations: 4 kB / 1.187 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9749, allocations: 0 / 1.187 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001767/0.9751, allocations: 0 / 1.187 GB, free: 8.031 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.008089/0.9832, allocations: 3.233 MB / 1.19 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.9832, allocations: 11.97 kB / 1.19 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.9866, allocations: 0.6446 MB / 1.191 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005943/0.9926, allocations: 2.584 MB / 1.194 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005008/0.9931, allocations: 306.6 kB / 1.194 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000616/0.9938, allocations: 200 kB / 1.194 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006495/1, allocations: 2.61 MB / 1.197 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/1, allocations: 11.94 kB / 1.197 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004139/1.001, allocations: 84 kB / 1.197 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.521e-05/1.001, allocations: 59.98 kB / 1.197 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005861/1.007, allocations: 2.301 MB / 1.199 GB, free: 11.7 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.01888/1.026, allocations: 11.48 MB / 1.21 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/1.029, allocations: 1.345 MB / 1.211 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/1.031, allocations: 0.8509 MB / 1.212 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.032, allocations: 1.331 MB / 1.214 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002619/1.035, allocations: 1.103 MB / 1.215 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=115): time 7.634e-06/1.035, allocations: 0 / 1.215 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=115): time 0.006776/1.042, allocations: 2.496 MB / 1.217 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000249/1.042, allocations: 479.7 kB / 1.218 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005138/1.047, allocations: 2.674 MB / 1.22 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004632/1.048, allocations: 53.7 kB / 1.22 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.049, allocations: 1.311 MB / 1.222 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006831/1.05, allocations: 410.2 kB / 1.222 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/1.05, allocations: 129.6 kB / 1.222 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.05, allocations: 309.1 kB / 1.222 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/1.052, allocations: 0.8042 MB / 1.223 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/1.055, allocations: 1.348 MB / 1.224 GB, free: 368 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/1.059, allocations: 1.934 MB / 1.226 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/1.059, allocations: 4 kB / 1.226 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006198/1.066, allocations: 2.331 MB / 1.229 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003175/1.066, allocations: 426 kB / 1.229 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/1.066, allocations: 8 kB / 1.229 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/1.066, allocations: 20 kB / 1.229 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/1.068, allocations: 427.3 kB / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.807e-05/1.068, allocations: 31.86 kB / 1.229 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/1.071, allocations: 326.2 kB / 1.23 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/1.071, allocations: 71.97 kB / 1.23 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.071, allocations: 4 kB / 1.23 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005139/1.077, allocations: 2.055 MB / 1.232 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/1.077, allocations: 8 kB / 1.232 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/1.077, allocations: 24.09 kB / 1.232 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/1.079, allocations: 431.3 kB / 1.232 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/1.079, allocations: 27.92 kB / 1.232 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/1.082, allocations: 306.1 kB / 1.233 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/1.082, allocations: 63.98 kB / 1.233 GB, free: 7.59 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.001858/1.084, allocations: 0.6957 MB / 1.233 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/1.085, allocations: 284.5 kB / 1.234 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/1.09, allocations: 2.177 MB / 1.236 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/1.09, allocations: 12 kB / 1.236 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.09, allocations: 4 kB / 1.236 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003623/1.094, allocations: 1.723 MB / 1.237 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.105, allocations: 5.276 MB / 1.243 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/1.105, allocations: 8 kB / 1.243 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/1.107, allocations: 292.3 kB / 1.243 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/1.107, allocations: 8 kB / 1.243 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/1.107, allocations: 35.97 kB / 1.243 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/1.107, allocations: 12 kB / 1.243 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-05/1.107, allocations: 15.88 kB / 1.243 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006891/1.114, allocations: 3.203 MB / 1.246 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.116, allocations: 0.6222 MB / 1.247 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009005/1.116, allocations: 31.94 kB / 1.247 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.119, allocations: 195.5 kB / 1.247 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/1.119, allocations: 116.7 kB / 1.247 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.12, allocations: 59.95 kB / 1.247 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003886/1.123, allocations: 1.853 MB / 1.249 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.02e-07/1.124, allocations: 0 / 1.249 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005785/1.129, allocations: 1.435 MB / 1.25 GB, free: 5.215 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.001795/1.131, allocations: 0.6482 MB / 1.251 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007726/1.139, allocations: 3.12 MB / 1.254 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.139, allocations: 448 / 1.254 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002275/1.141, allocations: 0.9211 MB / 1.255 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5805/1.722, allocations: 1.389 MB / 1.256 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.733, allocations: 5.995 MB / 1.262 GB, free: 218 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/1.735, allocations: 1.754 MB / 1.264 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/1.736, allocations: 253.4 kB / 1.264 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.934e-06/1.736, allocations: 0 / 1.264 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.07947/1.816, allocations: 48.79 MB / 1.312 GB, free: 188.1 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/jenkins1/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