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.001462/0.001462, allocations: 117.4 kB / 16.42 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.001772/0.001772, allocations: 189.5 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 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.443/2.443, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 68.12 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7516, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1075/0.8591, allocations: 115.6 MB / 1.28 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02753/0.8867, allocations: 20.89 MB / 1.301 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003803/0.8905, allocations: 115.4 kB / 1.301 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004325/0.8949, allocations: 1.693 MB / 1.302 GB, free: 9.016 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.9054, allocations: 4.162 MB / 1.306 GB, free: 4.836 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006942/0.9124, allocations: 2.891 MB / 1.309 GB, free: 1.973 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01088/0.9233, allocations: 8.088 MB / 1.317 GB, free: 9.863 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004586/0.9279, allocations: 2.674 MB / 1.32 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007044/0.935, allocations: 3.061 MB / 1.323 GB, free: 4.074 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.9391, allocations: 2.357 MB / 1.325 GB, free: 1.707 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0007765/0.9399, allocations: 328 kB / 1.325 GB, free: 1.387 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004967/0.9448, allocations: 2.04 MB / 1.327 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.9459, allocations: 0.9306 MB / 1.328 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.9483, allocations: 1.847 MB / 1.33 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007275/0.9555, allocations: 5.536 MB / 1.336 GB, free: 7.004 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9556, allocations: 0 / 1.336 GB, free: 7.004 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9556, allocations: 0 / 1.336 GB, free: 7.004 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.593e-05/0.9556, allocations: 0 / 1.336 GB, free: 7.004 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.00756/0.9632, allocations: 3.871 MB / 1.339 GB, free: 3.059 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.9633, allocations: 12.92 kB / 1.339 GB, free: 3.047 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.9661, allocations: 0.586 MB / 1.34 GB, free: 2.457 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/0.9706, allocations: 2.632 MB / 1.342 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.9709, allocations: 302.7 kB / 1.343 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.9713, allocations: 203.9 kB / 1.343 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004755/0.976, allocations: 2.552 MB / 1.345 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.9761, allocations: 7.938 kB / 1.345 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.9763, allocations: 88 kB / 1.346 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/0.9764, allocations: 59.98 kB / 1.346 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004804/0.9812, allocations: 2.227 MB / 1.348 GB, free: 10.18 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.01511/0.9963, allocations: 11.42 MB / 1.359 GB, free: 14.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.9992, allocations: 1.305 MB / 1.36 GB, free: 12.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/1.001, allocations: 0.8118 MB / 1.361 GB, free: 12.12 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.002, allocations: 1.327 MB / 1.362 GB, free: 10.5 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002239/1.004, allocations: 1.06 MB / 1.363 GB, free: 9.387 MB / 1.092 GB Notification: Performance of pre-optimization done (n=115): time 4.037e-06/1.004, allocations: 0 / 1.363 GB, free: 9.387 MB / 1.092 GB Notification: Performance of matching and sorting (n=115): time 0.005833/1.01, allocations: 2.383 MB / 1.366 GB, free: 7 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/1.01, allocations: 487.6 kB / 1.366 GB, free: 6.414 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/1.014, allocations: 2.701 MB / 1.369 GB, free: 3.699 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/1.014, allocations: 57.7 kB / 1.369 GB, free: 3.637 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/1.016, allocations: 1.299 MB / 1.37 GB, free: 2.324 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/1.016, allocations: 406.2 kB / 1.37 GB, free: 1.922 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/1.017, allocations: 339.3 kB / 1.371 GB, free: 1.582 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/1.017, allocations: 313.1 kB / 1.371 GB, free: 1.273 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/1.019, allocations: 0.7777 MB / 1.372 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/1.021, allocations: 1.301 MB / 1.373 GB, free: 14.97 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/1.025, allocations: 1.875 MB / 1.375 GB, free: 12.95 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.025, allocations: 0 / 1.375 GB, free: 12.95 MB / 1.107 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005044/1.03, allocations: 2.26 MB / 1.377 GB, free: 10.68 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/1.03, allocations: 33.7 kB / 1.377 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/1.03, allocations: 12 kB / 1.377 GB, free: 10.62 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/1.03, allocations: 16.81 kB / 1.377 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/1.032, allocations: 411.3 kB / 1.378 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.34e-05/1.032, allocations: 23.94 kB / 1.378 GB, free: 10.18 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.034, allocations: 261.8 kB / 1.378 GB, free: 9.926 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/1.034, allocations: 71.98 kB / 1.378 GB, free: 9.855 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002632/1.037, allocations: 1.285 MB / 1.379 GB, free: 8.566 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002199/1.039, allocations: 1.293 MB / 1.38 GB, free: 7.059 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003725/1.043, allocations: 1.853 MB / 1.382 GB, free: 5.062 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.746e-06/1.043, allocations: 7.938 kB / 1.382 GB, free: 5.055 MB / 1.107 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004979/1.048, allocations: 2.244 MB / 1.384 GB, free: 2.793 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/1.048, allocations: 37.7 kB / 1.384 GB, free: 2.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.048, allocations: 12.89 kB / 1.385 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.048, allocations: 20 kB / 1.385 GB, free: 2.719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/1.049, allocations: 407.3 kB / 1.385 GB, free: 2.32 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/1.049, allocations: 19.94 kB / 1.385 GB, free: 2.301 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.052, allocations: 219.1 kB / 1.385 GB, free: 2.086 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.052, allocations: 71.95 kB / 1.385 GB, free: 2.016 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.0004747/1.052, allocations: 287.8 kB / 1.385 GB, free: 1.727 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006955/1.053, allocations: 276.6 kB / 1.386 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/1.058, allocations: 2.107 MB / 1.388 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00345/1.061, allocations: 1.649 MB / 1.389 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.061, allocations: 0 / 1.389 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.062, allocations: 0.5832 MB / 1.39 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/1.063, allocations: 24 kB / 1.39 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.065, allocations: 123.7 kB / 1.39 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.065, allocations: 96.81 kB / 1.39 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004836/1.07, allocations: 2.135 MB / 1.392 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006451/1.076, allocations: 3.382 MB / 1.396 GB, free: 7.25 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001789/1.078, allocations: 0.851 MB / 1.396 GB, free: 6.398 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003206/1.081, allocations: 1.864 MB / 1.398 GB, free: 4.535 MB / 1.123 GB Notification: Performance of Backend: time 3.31e-07/1.081, allocations: 0 / 1.398 GB, free: 4.535 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008286/1.09, allocations: 3.079 MB / 1.401 GB, free: 1.441 MB / 1.123 GB Notification: Performance of SimCode: time 0.0111/1.101, allocations: 5.763 MB / 1.407 GB, free: 11.65 MB / 1.139 GB Notification: Performance of Templates: time 0.1098/1.211, allocations: 69.12 MB / 1.474 GB, free: 7.059 MB / 1.201 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