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.001588/0.001588, allocations: 110.5 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.001858/0.001858, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.1 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.548/2.548, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 60.12 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.8384, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1151/0.9536, allocations: 115.6 MB / 1.28 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02981/0.9834, allocations: 20.88 MB / 1.301 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/0.9874, allocations: 119.4 kB / 1.301 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004922/0.9924, allocations: 1.693 MB / 1.302 GB, free: 9.094 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01174/1.004, allocations: 4.161 MB / 1.306 GB, free: 4.914 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008246/1.012, allocations: 2.891 MB / 1.309 GB, free: 2.051 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01101/1.023, allocations: 8.093 MB / 1.317 GB, free: 9.938 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/1.028, allocations: 2.666 MB / 1.32 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006413/1.034, allocations: 3.055 MB / 1.323 GB, free: 4.164 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004076/1.038, allocations: 2.357 MB / 1.325 GB, free: 1.797 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0009801/1.039, allocations: 328 kB / 1.325 GB, free: 1.477 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/1.045, allocations: 2.04 MB / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/1.046, allocations: 0.9384 MB / 1.328 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003259/1.049, allocations: 1.839 MB / 1.33 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008844/1.058, allocations: 5.559 MB / 1.336 GB, free: 7.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.058, allocations: 3.938 kB / 1.336 GB, free: 7.066 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/1.058, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001484/1.058, allocations: 0 / 1.336 GB, free: 7.066 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.008189/1.066, allocations: 3.973 MB / 1.339 GB, free: 3.016 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.066, allocations: 8.922 kB / 1.339 GB, free: 3.008 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/1.069, allocations: 0.6074 MB / 1.34 GB, free: 2.398 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004392/1.074, allocations: 2.65 MB / 1.343 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/1.074, allocations: 310.6 kB / 1.343 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/1.074, allocations: 203.9 kB / 1.343 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004745/1.079, allocations: 2.552 MB / 1.346 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.803e-05/1.079, allocations: 7.938 kB / 1.346 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/1.079, allocations: 88 kB / 1.346 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/1.079, allocations: 59.92 kB / 1.346 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004554/1.084, allocations: 2.227 MB / 1.348 GB, free: 10.09 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.01412/1.098, allocations: 11.44 MB / 1.359 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/1.101, allocations: 1.313 MB / 1.36 GB, free: 12.83 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/1.103, allocations: 0.8157 MB / 1.361 GB, free: 12.02 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.104, allocations: 1.327 MB / 1.362 GB, free: 10.39 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002172/1.106, allocations: 1.055 MB / 1.363 GB, free: 9.285 MB / 1.092 GB Notification: Performance of pre-optimization done (n=115): time 3.367e-06/1.106, allocations: 4 kB / 1.363 GB, free: 9.281 MB / 1.092 GB Notification: Performance of matching and sorting (n=115): time 0.005946/1.112, allocations: 2.392 MB / 1.366 GB, free: 6.887 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/1.112, allocations: 487.8 kB / 1.366 GB, free: 6.301 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003933/1.116, allocations: 2.709 MB / 1.369 GB, free: 3.578 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001622/1.116, allocations: 57.7 kB / 1.369 GB, free: 3.516 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/1.117, allocations: 1.325 MB / 1.37 GB, free: 2.18 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004197/1.118, allocations: 420.4 kB / 1.371 GB, free: 1.766 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000605/1.118, allocations: 335.4 kB / 1.371 GB, free: 1.43 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/1.118, allocations: 313 kB / 1.371 GB, free: 1.121 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.12, allocations: 0.7777 MB / 1.372 GB, free: 348 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/1.122, allocations: 1.305 MB / 1.373 GB, free: 14.82 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/1.126, allocations: 1.86 MB / 1.375 GB, free: 12.81 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.126, allocations: 11.98 kB / 1.375 GB, free: 12.8 MB / 1.107 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004992/1.131, allocations: 2.277 MB / 1.377 GB, free: 10.51 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/1.131, allocations: 33.7 kB / 1.377 GB, free: 10.47 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.131, allocations: 12 kB / 1.377 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/1.131, allocations: 16 kB / 1.377 GB, free: 10.44 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/1.133, allocations: 407.8 kB / 1.378 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.54e-05/1.133, allocations: 27.92 kB / 1.378 GB, free: 10.02 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/1.135, allocations: 266.3 kB / 1.378 GB, free: 9.754 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/1.135, allocations: 71.97 kB / 1.378 GB, free: 9.684 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002577/1.138, allocations: 1.277 MB / 1.379 GB, free: 8.402 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002148/1.14, allocations: 1.305 MB / 1.381 GB, free: 6.883 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003584/1.144, allocations: 1.845 MB / 1.383 GB, free: 4.895 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.498e-06/1.144, allocations: 7.938 kB / 1.383 GB, free: 4.887 MB / 1.107 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00498/1.149, allocations: 2.266 MB / 1.385 GB, free: 2.605 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/1.149, allocations: 47.83 kB / 1.385 GB, free: 2.555 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.149, allocations: 8 kB / 1.385 GB, free: 2.547 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.149, allocations: 20 kB / 1.385 GB, free: 2.527 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/1.151, allocations: 403.9 kB / 1.385 GB, free: 2.133 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.772e-05/1.151, allocations: 27.91 kB / 1.385 GB, free: 2.105 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.153, allocations: 215.5 kB / 1.385 GB, free: 1.895 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/1.153, allocations: 67.98 kB / 1.385 GB, free: 1.828 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.0004541/1.154, allocations: 295.7 kB / 1.386 GB, free: 1.531 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007442/1.154, allocations: 290.2 kB / 1.386 GB, free: 1.246 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/1.159, allocations: 2.103 MB / 1.388 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003336/1.162, allocations: 1.649 MB / 1.39 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.162, allocations: 0 / 1.39 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.164, allocations: 0.5886 MB / 1.39 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/1.164, allocations: 24 kB / 1.39 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.166, allocations: 111.8 kB / 1.39 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/1.166, allocations: 104.9 kB / 1.391 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004773/1.171, allocations: 2.139 MB / 1.393 GB, free: 10.44 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006291/1.177, allocations: 3.379 MB / 1.396 GB, free: 7.043 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00174/1.179, allocations: 0.8588 MB / 1.397 GB, free: 6.184 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002978/1.182, allocations: 1.864 MB / 1.399 GB, free: 4.32 MB / 1.123 GB Notification: Performance of Backend: time 7.71e-07/1.182, allocations: 0 / 1.399 GB, free: 4.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008055/1.19, allocations: 3.1 MB / 1.402 GB, free: 1.207 MB / 1.123 GB Notification: Performance of SimCode: time 0.01089/1.201, allocations: 5.845 MB / 1.407 GB, free: 11.32 MB / 1.139 GB Notification: Performance of Templates: time 0.1077/1.309, allocations: 69.11 MB / 1.475 GB, free: 6.734 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