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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001284/0.001285, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001249/0.001249, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.3 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8141, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1352/0.9494, allocations: 115.8 MB / 1.196 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03563/0.985, allocations: 20.92 MB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005958/0.991, allocations: 119.4 kB / 1.217 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005915/0.9971, allocations: 1.654 MB / 1.218 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01298/1.01, allocations: 3.999 MB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008341/1.018, allocations: 2.823 MB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01344/1.032, allocations: 8.072 MB / 1.233 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005048/1.037, allocations: 2.687 MB / 1.235 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008179/1.045, allocations: 3.178 MB / 1.238 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004835/1.05, allocations: 2.342 MB / 1.241 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/1.051, allocations: 335.9 kB / 1.241 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005978/1.057, allocations: 2.036 MB / 1.243 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001352/1.059, allocations: 0.9384 MB / 1.244 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003129/1.062, allocations: 1.851 MB / 1.246 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009437/1.071, allocations: 5.504 MB / 1.251 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.071, allocations: 4 kB / 1.251 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/1.071, allocations: 0 / 1.251 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000123/1.071, allocations: 0 / 1.251 GB, free: 2.184 MB / 0.9669 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.008065/1.08, allocations: 3.879 MB / 1.255 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.08, allocations: 8.031 kB / 1.255 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/1.086, allocations: 1.027 MB / 1.256 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005306/1.091, allocations: 2.536 MB / 1.258 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/1.091, allocations: 310.6 kB / 1.259 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004428/1.092, allocations: 200 kB / 1.259 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006562/1.098, allocations: 2.821 MB / 1.262 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/1.099, allocations: 3.938 kB / 1.262 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/1.099, allocations: 92 kB / 1.262 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.723e-05/1.099, allocations: 59.98 kB / 1.262 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007188/1.106, allocations: 2.668 MB / 1.264 GB, free: 4.297 MB / 0.9825 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.02052/1.127, allocations: 12.11 MB / 1.276 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005445/1.132, allocations: 1.774 MB / 1.278 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002838/1.135, allocations: 1.028 MB / 1.279 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.136, allocations: 1.323 MB / 1.28 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003464/1.14, allocations: 1.302 MB / 1.282 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 3.616e-06/1.14, allocations: 0 / 1.282 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.009386/1.149, allocations: 3.016 MB / 1.284 GB, free: 14.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003176/1.15, allocations: 483.6 kB / 1.285 GB, free: 14.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/1.154, allocations: 2.701 MB / 1.288 GB, free: 11.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004951/1.155, allocations: 53.7 kB / 1.288 GB, free: 11.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.156, allocations: 1.315 MB / 1.289 GB, free: 10.19 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006123/1.157, allocations: 402.3 kB / 1.289 GB, free: 9.793 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006324/1.157, allocations: 343.2 kB / 1.29 GB, free: 9.453 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.158, allocations: 305.1 kB / 1.29 GB, free: 9.152 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00284/1.16, allocations: 0.9924 MB / 1.291 GB, free: 8.156 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/1.164, allocations: 1.527 MB / 1.292 GB, free: 6.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005828/1.17, allocations: 2.242 MB / 1.295 GB, free: 4.023 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.17, allocations: 4 kB / 1.295 GB, free: 4.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007485/1.177, allocations: 2.666 MB / 1.297 GB, free: 1.336 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/1.177, allocations: 34.64 kB / 1.297 GB, free: 1.297 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.177, allocations: 12 kB / 1.297 GB, free: 1.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.185e-05/1.177, allocations: 16 kB / 1.297 GB, free: 1.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.18, allocations: 487.2 kB / 1.298 GB, free: 0.793 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.098e-05/1.18, allocations: 19.94 kB / 1.298 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/1.183, allocations: 329.7 kB / 1.298 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/1.183, allocations: 75.97 kB / 1.298 GB, free: 384 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003843/1.187, allocations: 1.509 MB / 1.3 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003287/1.19, allocations: 1.508 MB / 1.301 GB, free: 13.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005666/1.196, allocations: 2.231 MB / 1.303 GB, free: 10.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.747e-06/1.196, allocations: 4 kB / 1.303 GB, free: 10.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.007594/1.203, allocations: 2.655 MB / 1.306 GB, free: 8.086 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/1.204, allocations: 45.88 kB / 1.306 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.204, allocations: 8 kB / 1.306 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.204, allocations: 16 kB / 1.306 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.206, allocations: 487.2 kB / 1.306 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.261e-05/1.206, allocations: 23.92 kB / 1.306 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/1.209, allocations: 275.1 kB / 1.307 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/1.209, allocations: 75.97 kB / 1.307 GB, free: 7.168 MB / 1.029 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.0005733/1.21, allocations: 287.8 kB / 1.307 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008739/1.211, allocations: 276.6 kB / 1.307 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006795/1.218, allocations: 2.535 MB / 1.31 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/1.218, allocations: 15.94 kB / 1.31 GB, free: 4.039 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.218, allocations: 0 / 1.31 GB, free: 4.039 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005391/1.223, allocations: 2.063 MB / 1.312 GB, free: 1.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.236, allocations: 5.782 MB / 1.317 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.236, allocations: 4 kB / 1.317 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/1.238, allocations: 339.9 kB / 1.318 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/1.238, allocations: 12 kB / 1.318 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.238, allocations: 43.91 kB / 1.318 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/1.238, allocations: 11.94 kB / 1.318 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.238, allocations: 11.98 kB / 1.318 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009832/1.248, allocations: 3.765 MB / 1.322 GB, free: 7.723 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.25, allocations: 0.6144 MB / 1.322 GB, free: 7.086 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000609/1.25, allocations: 35.92 kB / 1.322 GB, free: 7.051 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/1.253, allocations: 179.8 kB / 1.322 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.253, allocations: 116.7 kB / 1.322 GB, free: 6.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.253, allocations: 63.95 kB / 1.322 GB, free: 6.699 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003115/1.256, allocations: 1.88 MB / 1.324 GB, free: 4.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.31e-07/1.256, allocations: 4 kB / 1.324 GB, free: 4.816 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004701/1.261, allocations: 1.478 MB / 1.326 GB, free: 3.336 MB / 1.045 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.001583/1.263, allocations: 0.6789 MB / 1.326 GB, free: 2.664 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.273, allocations: 3.819 MB / 1.33 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.273, allocations: 448 / 1.33 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003076/1.276, allocations: 1.101 MB / 1.331 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006979/1.283, allocations: 1.389 MB / 1.333 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.294, allocations: 5.164 MB / 1.338 GB, free: 7.098 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/1.295, allocations: 1.754 MB / 1.339 GB, free: 5.316 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.297, allocations: 243.3 kB / 1.34 GB, free: 5.078 MB / 1.061 GB Notification: Performance of SimCode: time 9.21e-07/1.297, allocations: 0 / 1.34 GB, free: 5.078 MB / 1.061 GB Notification: Performance of Templates: time 0.08352/1.38, allocations: 50.94 MB / 1.389 GB, free: 2.504 MB / 1.107 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=400 -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