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.001717/0.001717, allocations: 105 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.001995/0.001995, allocations: 187 kB / 17.34 MB, free: 5.719 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.498/2.498, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8754, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1084/0.984, allocations: 115.6 MB / 1.28 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03149/1.015, allocations: 20.88 MB / 1.301 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00536/1.021, allocations: 115.4 kB / 1.301 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005639/1.027, allocations: 1.693 MB / 1.302 GB, free: 9.039 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0134/1.04, allocations: 4.162 MB / 1.306 GB, free: 4.859 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008616/1.049, allocations: 2.895 MB / 1.309 GB, free: 1.992 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01274/1.061, allocations: 8.091 MB / 1.317 GB, free: 9.879 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005675/1.067, allocations: 2.677 MB / 1.32 GB, free: 7.148 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008373/1.076, allocations: 3.06 MB / 1.323 GB, free: 4.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004683/1.08, allocations: 2.357 MB / 1.325 GB, free: 1.723 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001526/1.082, allocations: 328 kB / 1.325 GB, free: 1.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006509/1.088, allocations: 2.043 MB / 1.327 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001954/1.09, allocations: 0.9384 MB / 1.328 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004383/1.095, allocations: 1.835 MB / 1.33 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/1.106, allocations: 5.536 MB / 1.336 GB, free: 7.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/1.106, allocations: 0 / 1.336 GB, free: 7.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.755e-06/1.106, allocations: 0 / 1.336 GB, free: 7.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001866/1.106, allocations: 0 / 1.336 GB, free: 7.02 MB / 1.061 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.01079/1.117, allocations: 3.871 MB / 1.339 GB, free: 3.074 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.117, allocations: 12.92 kB / 1.339 GB, free: 3.062 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/1.12, allocations: 0.586 MB / 1.34 GB, free: 2.473 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006458/1.127, allocations: 2.624 MB / 1.342 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004943/1.128, allocations: 310.6 kB / 1.343 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007761/1.128, allocations: 200 kB / 1.343 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007066/1.135, allocations: 2.556 MB / 1.345 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.442e-05/1.136, allocations: 7.938 kB / 1.345 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005696/1.136, allocations: 84 kB / 1.346 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-05/1.136, allocations: 59.98 kB / 1.346 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005639/1.142, allocations: 2.227 MB / 1.348 GB, free: 10.2 MB / 1.076 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.01976/1.162, allocations: 11.42 MB / 1.359 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/1.165, allocations: 1.305 MB / 1.36 GB, free: 12.96 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/1.167, allocations: 0.8157 MB / 1.361 GB, free: 12.14 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/1.168, allocations: 1.327 MB / 1.362 GB, free: 10.52 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002319/1.17, allocations: 1.06 MB / 1.363 GB, free: 9.402 MB / 1.092 GB Notification: Performance of pre-optimization done (n=115): time 5.901e-06/1.17, allocations: 0 / 1.363 GB, free: 9.402 MB / 1.092 GB Notification: Performance of matching and sorting (n=115): time 0.00613/1.176, allocations: 2.383 MB / 1.366 GB, free: 7.016 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/1.176, allocations: 487.6 kB / 1.366 GB, free: 6.43 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/1.182, allocations: 2.701 MB / 1.369 GB, free: 3.715 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003709/1.182, allocations: 57.7 kB / 1.369 GB, free: 3.652 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/1.184, allocations: 1.303 MB / 1.37 GB, free: 2.336 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006161/1.184, allocations: 410.2 kB / 1.37 GB, free: 1.93 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008154/1.185, allocations: 339.3 kB / 1.371 GB, free: 1.59 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.185, allocations: 309 kB / 1.371 GB, free: 1.285 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/1.187, allocations: 0.7738 MB / 1.372 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/1.189, allocations: 1.309 MB / 1.373 GB, free: 14.98 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/1.193, allocations: 1.864 MB / 1.375 GB, free: 12.97 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.193, allocations: 4 kB / 1.375 GB, free: 12.96 MB / 1.107 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005303/1.198, allocations: 2.26 MB / 1.377 GB, free: 10.69 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/1.198, allocations: 44.05 kB / 1.377 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/1.198, allocations: 8.844 kB / 1.377 GB, free: 10.63 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.313e-05/1.198, allocations: 16 kB / 1.377 GB, free: 10.62 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.2, allocations: 415.3 kB / 1.378 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.602e-05/1.2, allocations: 23.92 kB / 1.378 GB, free: 10.19 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/1.203, allocations: 261.8 kB / 1.378 GB, free: 9.93 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/1.203, allocations: 71.97 kB / 1.378 GB, free: 9.859 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002842/1.206, allocations: 1.281 MB / 1.379 GB, free: 8.574 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002218/1.208, allocations: 1.297 MB / 1.38 GB, free: 7.062 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003517/1.212, allocations: 1.852 MB / 1.382 GB, free: 5.066 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.037e-06/1.212, allocations: 4 kB / 1.382 GB, free: 5.062 MB / 1.107 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005166/1.217, allocations: 2.248 MB / 1.384 GB, free: 2.797 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/1.217, allocations: 33.7 kB / 1.384 GB, free: 2.758 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/1.217, allocations: 12.91 kB / 1.385 GB, free: 2.746 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.217, allocations: 19.98 kB / 1.385 GB, free: 2.727 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.219, allocations: 411.3 kB / 1.385 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/1.219, allocations: 23.94 kB / 1.385 GB, free: 2.301 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/1.221, allocations: 211.1 kB / 1.385 GB, free: 2.094 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.222, allocations: 71.97 kB / 1.385 GB, free: 2.023 MB / 1.107 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.000608/1.222, allocations: 291.8 kB / 1.385 GB, free: 1.73 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.223, allocations: 280.6 kB / 1.386 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/1.228, allocations: 2.092 MB / 1.388 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/1.228, allocations: 19.92 kB / 1.388 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.228, allocations: 4 kB / 1.388 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003179/1.231, allocations: 1.645 MB / 1.389 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.242, allocations: 5.23 MB / 1.395 GB, free: 8.262 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.242, allocations: 8 kB / 1.395 GB, free: 8.254 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.243, allocations: 263.6 kB / 1.395 GB, free: 7.996 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/1.243, allocations: 8 kB / 1.395 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.243, allocations: 39.97 kB / 1.395 GB, free: 7.949 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/1.243, allocations: 15.88 kB / 1.395 GB, free: 7.934 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.243, allocations: 12.03 kB / 1.395 GB, free: 7.922 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/1.25, allocations: 3.086 MB / 1.398 GB, free: 4.738 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.252, allocations: 0.5871 MB / 1.398 GB, free: 4.129 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009001/1.252, allocations: 32 kB / 1.398 GB, free: 4.098 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.255, allocations: 131.7 kB / 1.399 GB, free: 3.969 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/1.255, allocations: 116.7 kB / 1.399 GB, free: 3.855 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/1.255, allocations: 55.95 kB / 1.399 GB, free: 3.801 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003806/1.259, allocations: 1.88 MB / 1.401 GB, free: 1.922 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.91e-07/1.259, allocations: 3.938 kB / 1.401 GB, free: 1.918 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005859/1.265, allocations: 1.45 MB / 1.402 GB, free: 476 kB / 1.123 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.001901/1.267, allocations: 0.6684 MB / 1.403 GB, free: 15.8 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007077/1.274, allocations: 3.015 MB / 1.406 GB, free: 12.77 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/1.274, allocations: 5.484 kB / 1.406 GB, free: 12.77 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/1.276, allocations: 0.8774 MB / 1.406 GB, free: 11.89 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007697/1.284, allocations: 1.398 MB / 1.408 GB, free: 10.51 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.294, allocations: 4.865 MB / 1.413 GB, free: 5.535 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.295, allocations: 1.754 MB / 1.414 GB, free: 3.75 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.297, allocations: 231.3 kB / 1.415 GB, free: 3.523 MB / 1.139 GB Notification: Performance of SimCode: time 1.082e-06/1.297, allocations: 3.938 kB / 1.415 GB, free: 3.52 MB / 1.139 GB Notification: Performance of Templates: time 0.07725/1.374, allocations: 49.94 MB / 1.463 GB, free: 1.875 MB / 1.186 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