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.001361/0.001367, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001336/0.001336, allocations: 183 kB / 17.34 MB, free: 5.766 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 64.11 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9711/0.9726, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1188/1.091, allocations: 115.6 MB / 1.321 GB, free: 9.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03398/1.126, allocations: 20.89 MB / 1.342 GB, free: 4.664 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0061/1.132, allocations: 115.4 kB / 1.342 GB, free: 4.551 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005963/1.138, allocations: 1.646 MB / 1.343 GB, free: 2.895 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01343/1.151, allocations: 3.972 MB / 1.347 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008798/1.16, allocations: 2.876 MB / 1.35 GB, free: 12.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01344/1.173, allocations: 8.069 MB / 1.358 GB, free: 3.969 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006065/1.18, allocations: 2.677 MB / 1.361 GB, free: 1.234 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008722/1.188, allocations: 3.05 MB / 1.364 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/1.193, allocations: 2.357 MB / 1.366 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/1.195, allocations: 328 kB / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006416/1.201, allocations: 2.043 MB / 1.368 GB, free: 9.449 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001877/1.203, allocations: 0.9306 MB / 1.369 GB, free: 8.516 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004526/1.208, allocations: 1.843 MB / 1.371 GB, free: 6.664 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/1.22, allocations: 5.54 MB / 1.376 GB, free: 1.109 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/1.22, allocations: 3.938 kB / 1.376 GB, free: 1.105 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.736e-06/1.22, allocations: 0 / 1.376 GB, free: 1.105 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002038/1.22, allocations: 0 / 1.376 GB, free: 1.105 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.01187/1.232, allocations: 3.863 MB / 1.38 GB, free: 13.17 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.232, allocations: 12.03 kB / 1.38 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/1.236, allocations: 0.5821 MB / 1.381 GB, free: 12.57 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006348/1.242, allocations: 2.639 MB / 1.383 GB, free: 9.867 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000454/1.243, allocations: 302.6 kB / 1.384 GB, free: 9.547 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006842/1.243, allocations: 200 kB / 1.384 GB, free: 9.352 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006527/1.25, allocations: 2.556 MB / 1.386 GB, free: 6.672 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/1.25, allocations: 11.94 kB / 1.386 GB, free: 6.66 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004341/1.25, allocations: 91.98 kB / 1.386 GB, free: 6.57 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.802e-05/1.251, allocations: 55.98 kB / 1.386 GB, free: 6.516 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005459/1.256, allocations: 2.227 MB / 1.389 GB, free: 4.285 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.02058/1.277, allocations: 11.43 MB / 1.4 GB, free: 8.352 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/1.28, allocations: 1.313 MB / 1.401 GB, free: 7.031 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/1.282, allocations: 0.8157 MB / 1.402 GB, free: 6.215 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.283, allocations: 1.323 MB / 1.403 GB, free: 4.598 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002443/1.285, allocations: 1.056 MB / 1.404 GB, free: 3.484 MB / 1.123 GB Notification: Performance of pre-optimization done (n=115): time 5.19e-06/1.285, allocations: 0 / 1.404 GB, free: 3.484 MB / 1.123 GB Notification: Performance of matching and sorting (n=115): time 0.006454/1.292, allocations: 2.383 MB / 1.406 GB, free: 1.098 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002691/1.292, allocations: 491.8 kB / 1.407 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/1.298, allocations: 2.701 MB / 1.41 GB, free: 13.79 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004114/1.298, allocations: 57.7 kB / 1.41 GB, free: 13.72 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.3, allocations: 1.307 MB / 1.411 GB, free: 12.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/1.3, allocations: 402.2 kB / 1.411 GB, free: 12.01 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008844/1.301, allocations: 339.3 kB / 1.412 GB, free: 11.67 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.301, allocations: 305.1 kB / 1.412 GB, free: 11.37 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/1.303, allocations: 0.7777 MB / 1.413 GB, free: 10.59 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/1.306, allocations: 1.305 MB / 1.414 GB, free: 9.062 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/1.31, allocations: 1.872 MB / 1.416 GB, free: 7.047 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.31, allocations: 0 / 1.416 GB, free: 7.047 MB / 1.139 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00589/1.316, allocations: 2.264 MB / 1.418 GB, free: 4.766 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/1.316, allocations: 33.7 kB / 1.418 GB, free: 4.727 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/1.316, allocations: 12 kB / 1.418 GB, free: 4.715 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.244e-05/1.316, allocations: 16 kB / 1.418 GB, free: 4.699 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/1.318, allocations: 415.6 kB / 1.418 GB, free: 4.293 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.583e-05/1.318, allocations: 23.92 kB / 1.418 GB, free: 4.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/1.321, allocations: 253.8 kB / 1.419 GB, free: 4.02 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/1.321, allocations: 71.97 kB / 1.419 GB, free: 3.949 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003064/1.324, allocations: 1.281 MB / 1.42 GB, free: 2.664 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002309/1.326, allocations: 1.305 MB / 1.421 GB, free: 1.148 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004116/1.33, allocations: 1.856 MB / 1.423 GB, free: 15.14 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-05/1.33, allocations: 3.938 kB / 1.423 GB, free: 15.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.006413/1.337, allocations: 2.249 MB / 1.425 GB, free: 12.88 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/1.337, allocations: 37.7 kB / 1.425 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/1.337, allocations: 8 kB / 1.425 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/1.337, allocations: 20 kB / 1.425 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/1.339, allocations: 411.7 kB / 1.426 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.182e-05/1.339, allocations: 19.94 kB / 1.426 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.342, allocations: 211.1 kB / 1.426 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.342, allocations: 71.97 kB / 1.426 GB, free: 12.11 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.0006203/1.342, allocations: 287.8 kB / 1.426 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.344, allocations: 280.6 kB / 1.427 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/1.349, allocations: 2.094 MB / 1.429 GB, free: 9.434 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/1.349, allocations: 12 kB / 1.429 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.349, allocations: 3.984 kB / 1.429 GB, free: 9.418 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003393/1.352, allocations: 1.653 MB / 1.43 GB, free: 7.711 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.363, allocations: 5.221 MB / 1.435 GB, free: 2.348 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.363, allocations: 8 kB / 1.435 GB, free: 2.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.364, allocations: 268.3 kB / 1.436 GB, free: 2.078 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.662e-05/1.364, allocations: 12 kB / 1.436 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.365, allocations: 31.98 kB / 1.436 GB, free: 2.035 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-05/1.365, allocations: 19.86 kB / 1.436 GB, free: 2.016 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/1.365, allocations: 11.94 kB / 1.436 GB, free: 2.004 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006774/1.371, allocations: 3.082 MB / 1.439 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.373, allocations: 0.591 MB / 1.439 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009581/1.374, allocations: 28 kB / 1.439 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/1.376, allocations: 131.6 kB / 1.439 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/1.377, allocations: 120.7 kB / 1.44 GB, free: 13.94 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.377, allocations: 59.95 kB / 1.44 GB, free: 13.88 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.004082/1.381, allocations: 1.876 MB / 1.441 GB, free: 12 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.61e-07/1.381, allocations: 0 / 1.441 GB, free: 12 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.005502/1.387, allocations: 1.458 MB / 1.443 GB, free: 10.54 MB / 1.17 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.001851/1.388, allocations: 0.6621 MB / 1.444 GB, free: 9.883 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007234/1.396, allocations: 3.023 MB / 1.446 GB, free: 6.844 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.396, allocations: 8.422 kB / 1.446 GB, free: 6.836 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/1.398, allocations: 0.8782 MB / 1.447 GB, free: 5.957 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008132/1.406, allocations: 1.391 MB / 1.449 GB, free: 4.594 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.417, allocations: 4.867 MB / 1.453 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/1.419, allocations: 1.754 MB / 1.455 GB, free: 13.83 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.42, allocations: 239.3 kB / 1.455 GB, free: 13.59 MB / 1.186 GB Notification: Performance of SimCode: time 1.022e-06/1.42, allocations: 3.938 kB / 1.455 GB, free: 13.59 MB / 1.186 GB Notification: Performance of Templates: time 0.08378/1.504, allocations: 49.94 MB / 1.504 GB, free: 12.02 MB / 1.232 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