Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001433/0.001433, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001499/0.001499, allocations: 187 kB / 17.34 MB, free: 5.742 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.423/1.423, 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 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9474/0.949, allocations: 140.4 MB / 1.089 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1195/1.068, allocations: 115.6 MB / 1.202 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03167/1.1, allocations: 20.9 MB / 1.222 GB, free: 404 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007039/1.107, allocations: 115 kB / 1.222 GB, free: 364 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006048/1.113, allocations: 1.644 MB / 1.224 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01348/1.127, allocations: 3.98 MB / 1.228 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008982/1.136, allocations: 2.873 MB / 1.23 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01444/1.15, allocations: 8.069 MB / 1.238 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005438/1.156, allocations: 2.681 MB / 1.241 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00973/1.166, allocations: 3.056 MB / 1.244 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006367/1.172, allocations: 2.353 MB / 1.246 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00182/1.174, allocations: 332 kB / 1.246 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006786/1.181, allocations: 2.047 MB / 1.248 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001859/1.182, allocations: 0.9267 MB / 1.249 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004097/1.187, allocations: 1.839 MB / 1.251 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/1.198, allocations: 5.546 MB / 1.257 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.198, allocations: 0 / 1.257 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/1.198, allocations: 0 / 1.257 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001309/1.198, allocations: 0 / 1.257 GB, free: 1.926 MB / 0.9825 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.009048/1.207, allocations: 3.867 MB / 1.26 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.207, allocations: 12.03 kB / 1.26 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002942/1.21, allocations: 0.5894 MB / 1.261 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/1.215, allocations: 2.624 MB / 1.263 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/1.216, allocations: 306.6 kB / 1.264 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/1.216, allocations: 208 kB / 1.264 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/1.221, allocations: 2.548 MB / 1.266 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/1.221, allocations: 11.94 kB / 1.266 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/1.222, allocations: 99.91 kB / 1.267 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/1.222, allocations: 52 kB / 1.267 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/1.226, allocations: 2.227 MB / 1.269 GB, free: 5.094 MB / 0.9981 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.01678/1.243, allocations: 11.42 MB / 1.28 GB, free: 9.168 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/1.246, allocations: 1.31 MB / 1.281 GB, free: 7.852 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.248, allocations: 0.8158 MB / 1.282 GB, free: 7.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/1.249, allocations: 1.323 MB / 1.283 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002404/1.252, allocations: 1.056 MB / 1.284 GB, free: 4.305 MB / 1.014 GB Notification: Performance of pre-optimization done (n=115): time 3.677e-06/1.252, allocations: 0 / 1.284 GB, free: 4.305 MB / 1.014 GB Notification: Performance of matching and sorting (n=115): time 0.006444/1.258, allocations: 2.391 MB / 1.287 GB, free: 1.902 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/1.259, allocations: 483.7 kB / 1.287 GB, free: 1.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/1.263, allocations: 2.701 MB / 1.29 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003801/1.263, allocations: 57.7 kB / 1.29 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.265, allocations: 1.299 MB / 1.291 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006061/1.265, allocations: 406.2 kB / 1.291 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/1.266, allocations: 335.3 kB / 1.292 GB, free: 12.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.266, allocations: 313.1 kB / 1.292 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/1.268, allocations: 0.7738 MB / 1.293 GB, free: 11.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/1.27, allocations: 1.309 MB / 1.294 GB, free: 9.883 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.274, allocations: 1.868 MB / 1.296 GB, free: 7.871 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.274, allocations: 0 / 1.296 GB, free: 7.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005435/1.279, allocations: 2.264 MB / 1.298 GB, free: 5.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/1.279, allocations: 33.7 kB / 1.298 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.279, allocations: 19.92 kB / 1.298 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/1.279, allocations: 16 kB / 1.298 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.281, allocations: 408 kB / 1.299 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/1.281, allocations: 23.94 kB / 1.299 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/1.284, allocations: 265.8 kB / 1.299 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.284, allocations: 71.92 kB / 1.299 GB, free: 4.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002954/1.287, allocations: 1.281 MB / 1.3 GB, free: 3.477 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00231/1.289, allocations: 1.305 MB / 1.302 GB, free: 1.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003643/1.293, allocations: 1.849 MB / 1.303 GB, free: 15.96 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-06/1.293, allocations: 4 kB / 1.303 GB, free: 15.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005247/1.298, allocations: 2.244 MB / 1.306 GB, free: 13.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/1.298, allocations: 41.69 kB / 1.306 GB, free: 13.65 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.298, allocations: 8 kB / 1.306 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.298, allocations: 20.75 kB / 1.306 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.3, allocations: 407.3 kB / 1.306 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/1.3, allocations: 23.92 kB / 1.306 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/1.303, allocations: 215.1 kB / 1.306 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.303, allocations: 67.98 kB / 1.306 GB, free: 12.93 MB / 1.045 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.0005916/1.304, allocations: 288.2 kB / 1.307 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007482/1.304, allocations: 276.6 kB / 1.307 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004572/1.309, allocations: 2.103 MB / 1.309 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.309, allocations: 12 kB / 1.309 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.309, allocations: 0 / 1.309 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003271/1.312, allocations: 1.653 MB / 1.31 GB, free: 8.535 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009298/1.322, allocations: 5.233 MB / 1.316 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.322, allocations: 4 kB / 1.316 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/1.323, allocations: 267.7 kB / 1.316 GB, free: 2.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/1.323, allocations: 12 kB / 1.316 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.323, allocations: 43.91 kB / 1.316 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/1.323, allocations: 11.94 kB / 1.316 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.323, allocations: 8 kB / 1.316 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006551/1.33, allocations: 3.086 MB / 1.319 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.331, allocations: 0.5871 MB / 1.32 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000524/1.332, allocations: 35.92 kB / 1.32 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.334, allocations: 115.8 kB / 1.32 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/1.334, allocations: 112.7 kB / 1.32 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.334, allocations: 63.95 kB / 1.32 GB, free: 14.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002895/1.337, allocations: 1.88 MB / 1.322 GB, free: 12.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.3e-07/1.337, allocations: 0 / 1.322 GB, free: 12.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003841/1.341, allocations: 1.458 MB / 1.323 GB, free: 11.37 MB / 1.061 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.001417/1.342, allocations: 0.6772 MB / 1.324 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006682/1.349, allocations: 3.015 MB / 1.327 GB, free: 7.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.349, allocations: 4.672 kB / 1.327 GB, free: 7.656 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.351, allocations: 0.8851 MB / 1.328 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006595/1.358, allocations: 1.38 MB / 1.329 GB, free: 5.422 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008181/1.366, allocations: 4.883 MB / 1.334 GB, free: 436 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.367, allocations: 1.754 MB / 1.335 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009914/1.368, allocations: 227.3 kB / 1.336 GB, free: 14.42 MB / 1.076 GB Notification: Performance of SimCode: time 8.81e-07/1.368, allocations: 0 / 1.336 GB, free: 14.42 MB / 1.076 GB Notification: Performance of Templates: time 0.07359/1.442, allocations: 49.94 MB / 1.384 GB, free: 12.87 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches