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.001133/0.001133, allocations: 106.7 kB / 16.41 MB, free: 6.457 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.001317/0.001317, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8823/0.8837, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1361/1.02, allocations: 115.6 MB / 1.202 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03874/1.059, allocations: 20.9 MB / 1.222 GB, free: 224 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006104/1.065, allocations: 117.1 kB / 1.222 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00622/1.071, allocations: 1.684 MB / 1.224 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/1.085, allocations: 4.171 MB / 1.228 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009151/1.094, allocations: 2.883 MB / 1.231 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01413/1.109, allocations: 8.091 MB / 1.238 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005666/1.114, allocations: 2.681 MB / 1.241 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008663/1.123, allocations: 3.049 MB / 1.244 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005479/1.129, allocations: 2.361 MB / 1.246 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/1.13, allocations: 331.9 kB / 1.247 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007207/1.137, allocations: 2.043 MB / 1.249 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001828/1.139, allocations: 0.9306 MB / 1.25 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004545/1.144, allocations: 1.843 MB / 1.251 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/1.155, allocations: 5.54 MB / 1.257 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.155, allocations: 0 / 1.257 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/1.155, allocations: 0 / 1.257 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000169/1.155, allocations: 0 / 1.257 GB, free: 1.527 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.01017/1.166, allocations: 3.869 MB / 1.261 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.166, allocations: 8.031 kB / 1.261 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/1.169, allocations: 0.5894 MB / 1.261 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00582/1.175, allocations: 2.627 MB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/1.175, allocations: 306.6 kB / 1.264 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005713/1.176, allocations: 200 kB / 1.264 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005844/1.182, allocations: 2.559 MB / 1.267 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.528e-05/1.182, allocations: 11.94 kB / 1.267 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/1.182, allocations: 91.92 kB / 1.267 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-05/1.182, allocations: 56 kB / 1.267 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005355/1.188, allocations: 2.223 MB / 1.269 GB, free: 4.688 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.01835/1.206, allocations: 11.43 MB / 1.28 GB, free: 8.758 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/1.209, allocations: 1.316 MB / 1.282 GB, free: 7.434 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/1.211, allocations: 0.8118 MB / 1.282 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/1.212, allocations: 1.323 MB / 1.284 GB, free: 4.996 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002492/1.215, allocations: 1.06 MB / 1.285 GB, free: 3.887 MB / 1.014 GB Notification: Performance of pre-optimization done (n=115): time 4.99e-06/1.215, allocations: 0 / 1.285 GB, free: 3.887 MB / 1.014 GB Notification: Performance of matching and sorting (n=115): time 0.006676/1.222, allocations: 2.387 MB / 1.287 GB, free: 1.488 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002469/1.222, allocations: 479.7 kB / 1.287 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/1.227, allocations: 2.701 MB / 1.29 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004393/1.228, allocations: 57.7 kB / 1.29 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/1.229, allocations: 1.299 MB / 1.291 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000646/1.23, allocations: 410.2 kB / 1.292 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009013/1.231, allocations: 339.3 kB / 1.292 GB, free: 12.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.231, allocations: 305.1 kB / 1.292 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/1.233, allocations: 0.7855 MB / 1.293 GB, free: 10.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/1.236, allocations: 1.305 MB / 1.294 GB, free: 9.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004005/1.24, allocations: 1.864 MB / 1.296 GB, free: 7.457 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.24, allocations: 7.938 kB / 1.296 GB, free: 7.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005577/1.245, allocations: 2.256 MB / 1.298 GB, free: 5.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/1.245, allocations: 37.7 kB / 1.298 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.246, allocations: 11.98 kB / 1.299 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.808e-05/1.246, allocations: 20 kB / 1.299 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/1.247, allocations: 411.8 kB / 1.299 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.969e-05/1.248, allocations: 23.92 kB / 1.299 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.25, allocations: 257.8 kB / 1.299 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/1.25, allocations: 75.98 kB / 1.299 GB, free: 4.348 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002886/1.253, allocations: 1.285 MB / 1.301 GB, free: 3.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002366/1.255, allocations: 1.301 MB / 1.302 GB, free: 1.543 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003785/1.259, allocations: 1.849 MB / 1.304 GB, free: 15.55 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.877e-06/1.259, allocations: 4 kB / 1.304 GB, free: 15.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00534/1.265, allocations: 2.249 MB / 1.306 GB, free: 13.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/1.265, allocations: 36.05 kB / 1.306 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.265, allocations: 12 kB / 1.306 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.265, allocations: 16 kB / 1.306 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.267, allocations: 407.9 kB / 1.306 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/1.267, allocations: 27.92 kB / 1.306 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/1.269, allocations: 215.1 kB / 1.306 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/1.269, allocations: 67.98 kB / 1.307 GB, free: 12.51 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.0005133/1.27, allocations: 288.2 kB / 1.307 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008338/1.271, allocations: 280.6 kB / 1.307 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004712/1.275, allocations: 2.092 MB / 1.309 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003456/1.279, allocations: 1.653 MB / 1.311 GB, free: 8.141 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.279, allocations: 0 / 1.311 GB, free: 8.141 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.28, allocations: 0.5793 MB / 1.311 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007073/1.281, allocations: 27.94 kB / 1.311 GB, free: 7.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/1.283, allocations: 119.8 kB / 1.311 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/1.283, allocations: 88.88 kB / 1.312 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004964/1.288, allocations: 2.139 MB / 1.314 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006657/1.295, allocations: 3.374 MB / 1.317 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001828/1.297, allocations: 0.8587 MB / 1.318 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003414/1.3, allocations: 1.864 MB / 1.32 GB, free: 15.05 MB / 1.061 GB Notification: Performance of Backend: time 4.3e-07/1.3, allocations: 0 / 1.32 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008943/1.309, allocations: 3.077 MB / 1.323 GB, free: 11.95 MB / 1.061 GB Notification: Performance of SimCode: time 0.01245/1.322, allocations: 5.756 MB / 1.328 GB, free: 6.172 MB / 1.061 GB Notification: Performance of Templates: time 0.1073/1.429, allocations: 69.11 MB / 1.396 GB, free: 1.75 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