Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001003/0.001003, allocations: 107.4 kB / 16.41 MB, free: 6.465 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.002026/0.002026, allocations: 192.1 kB / 17.35 MB, free: 5.738 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.678/1.678, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.697/3.697, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 59.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.111, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1563/1.267, allocations: 115.6 MB / 1.321 GB, free: 9.598 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03084/1.298, allocations: 20.9 MB / 1.342 GB, free: 4.652 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00554/1.304, allocations: 115.4 kB / 1.342 GB, free: 4.539 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005651/1.31, allocations: 1.646 MB / 1.343 GB, free: 2.883 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/1.323, allocations: 3.965 MB / 1.347 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008843/1.332, allocations: 2.88 MB / 1.35 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01248/1.344, allocations: 8.073 MB / 1.358 GB, free: 3.953 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004371/1.349, allocations: 2.681 MB / 1.361 GB, free: 1.215 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007592/1.356, allocations: 3.046 MB / 1.364 GB, free: 14.17 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004521/1.361, allocations: 2.365 MB / 1.366 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001373/1.362, allocations: 324 kB / 1.366 GB, free: 11.48 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006088/1.368, allocations: 2.043 MB / 1.368 GB, free: 9.434 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001972/1.37, allocations: 0.9267 MB / 1.369 GB, free: 8.504 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004393/1.375, allocations: 1.843 MB / 1.371 GB, free: 6.652 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01215/1.387, allocations: 5.54 MB / 1.376 GB, free: 1.098 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.387, allocations: 0 / 1.376 GB, free: 1.098 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.565e-06/1.387, allocations: 4 kB / 1.376 GB, free: 1.094 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001245/1.387, allocations: 4 kB / 1.376 GB, free: 1.09 MB / 1.092 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.009335/1.396, allocations: 3.863 MB / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.396, allocations: 8.031 kB / 1.38 GB, free: 13.14 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/1.399, allocations: 0.586 MB / 1.381 GB, free: 12.55 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00536/1.405, allocations: 2.628 MB / 1.383 GB, free: 9.855 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/1.405, allocations: 306.6 kB / 1.384 GB, free: 9.531 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004071/1.406, allocations: 204 kB / 1.384 GB, free: 9.332 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/1.411, allocations: 2.552 MB / 1.386 GB, free: 6.656 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.228e-05/1.411, allocations: 7.938 kB / 1.386 GB, free: 6.648 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/1.411, allocations: 87.94 kB / 1.386 GB, free: 6.562 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.338e-05/1.411, allocations: 63.94 kB / 1.386 GB, free: 6.5 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008058/1.419, allocations: 2.227 MB / 1.389 GB, free: 4.27 MB / 1.107 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.02917/1.448, allocations: 11.43 MB / 1.4 GB, free: 8.34 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005434/1.454, allocations: 1.309 MB / 1.401 GB, free: 7.023 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/1.457, allocations: 0.8079 MB / 1.402 GB, free: 6.215 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/1.459, allocations: 1.331 MB / 1.403 GB, free: 4.59 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004186/1.463, allocations: 1.06 MB / 1.404 GB, free: 3.477 MB / 1.123 GB Notification: Performance of pre-optimization done (n=115): time 8.136e-06/1.463, allocations: 0 / 1.404 GB, free: 3.477 MB / 1.123 GB Notification: Performance of matching and sorting (n=115): time 0.01031/1.474, allocations: 2.383 MB / 1.406 GB, free: 1.086 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002887/1.474, allocations: 483.7 kB / 1.407 GB, free: 0.5 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007166/1.481, allocations: 2.701 MB / 1.41 GB, free: 13.78 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004624/1.482, allocations: 61.73 kB / 1.41 GB, free: 13.71 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.483, allocations: 1.307 MB / 1.411 GB, free: 12.4 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006698/1.484, allocations: 410.2 kB / 1.411 GB, free: 11.99 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008384/1.485, allocations: 335.3 kB / 1.412 GB, free: 11.66 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.485, allocations: 305.1 kB / 1.412 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/1.487, allocations: 0.7777 MB / 1.413 GB, free: 10.58 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/1.489, allocations: 1.309 MB / 1.414 GB, free: 9.047 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00379/1.493, allocations: 1.856 MB / 1.416 GB, free: 7.047 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.493, allocations: 8 kB / 1.416 GB, free: 7.039 MB / 1.139 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005451/1.498, allocations: 2.253 MB / 1.418 GB, free: 4.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/1.499, allocations: 45.88 kB / 1.418 GB, free: 4.719 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.499, allocations: 12 kB / 1.418 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.483e-05/1.499, allocations: 16 kB / 1.418 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/1.501, allocations: 407.3 kB / 1.418 GB, free: 4.293 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.21e-05/1.501, allocations: 23.92 kB / 1.418 GB, free: 4.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/1.503, allocations: 265.8 kB / 1.419 GB, free: 4.008 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/1.503, allocations: 67.97 kB / 1.419 GB, free: 3.941 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002819/1.506, allocations: 1.281 MB / 1.42 GB, free: 2.656 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002276/1.508, allocations: 1.309 MB / 1.421 GB, free: 1.137 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003831/1.512, allocations: 1.852 MB / 1.423 GB, free: 15.14 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.416e-05/1.512, allocations: 7.938 kB / 1.423 GB, free: 15.13 MB / 1.154 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005658/1.518, allocations: 2.241 MB / 1.425 GB, free: 12.88 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/1.518, allocations: 43.64 kB / 1.425 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.518, allocations: 8 kB / 1.425 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/1.518, allocations: 20 kB / 1.425 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/1.52, allocations: 403.4 kB / 1.426 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/1.52, allocations: 31.86 kB / 1.426 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/1.523, allocations: 211.1 kB / 1.426 GB, free: 12.17 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/1.523, allocations: 67.98 kB / 1.426 GB, free: 12.1 MB / 1.154 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.0006249/1.524, allocations: 287.8 kB / 1.426 GB, free: 11.81 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.525, allocations: 280.6 kB / 1.427 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004852/1.53, allocations: 2.101 MB / 1.429 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003411/1.533, allocations: 1.645 MB / 1.43 GB, free: 7.73 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.533, allocations: 4 kB / 1.43 GB, free: 7.727 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.535, allocations: 0.5754 MB / 1.431 GB, free: 7.129 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008156/1.535, allocations: 24 kB / 1.431 GB, free: 7.105 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/1.538, allocations: 119.7 kB / 1.431 GB, free: 6.988 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/1.538, allocations: 96.81 kB / 1.431 GB, free: 6.895 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005058/1.543, allocations: 2.142 MB / 1.433 GB, free: 4.738 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006781/1.55, allocations: 3.366 MB / 1.436 GB, free: 1.359 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001773/1.552, allocations: 0.8588 MB / 1.437 GB, free: 0.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003528/1.555, allocations: 1.864 MB / 1.439 GB, free: 14.64 MB / 1.17 GB Notification: Performance of Backend: time 5.41e-07/1.555, allocations: 0 / 1.439 GB, free: 14.64 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009626/1.565, allocations: 3.08 MB / 1.442 GB, free: 11.54 MB / 1.17 GB Notification: Performance of SimCode: time 0.0137/1.578, allocations: 5.767 MB / 1.448 GB, free: 5.75 MB / 1.17 GB Notification: Performance of Templates: time 0.1222/1.701, allocations: 70.55 MB / 1.517 GB, free: 15.8 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches