Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006292/0.006292, allocations: 96.52 kB / 15.73 MB, free: 6.484 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.001447/0.001447, allocations: 192 kB / 16.67 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.89 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3635, allocations: 159.1 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.7906/1.154, allocations: 81.42 MB / 1.3 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03132/1.185, allocations: 19.52 MB / 1.319 GB, free: 3.348 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006239/1.192, allocations: 99.53 kB / 1.319 GB, free: 3.316 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004694/1.196, allocations: 1.376 MB / 1.321 GB, free: 2.547 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009947/1.206, allocations: 2.987 MB / 1.324 GB, free: 0.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006652/1.213, allocations: 2.237 MB / 1.326 GB, free: 15.47 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of NFFlatten.flatten: time 0.009271/1.222, allocations: 5.723 MB / 1.331 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00572/1.228, allocations: 2.128 MB / 1.333 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006569/1.235, allocations: 2.238 MB / 1.336 GB, free: 10.31 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/1.238, allocations: 1.707 MB / 1.337 GB, free: 9.457 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001185/1.239, allocations: 307 kB / 1.338 GB, free: 9.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005776/1.245, allocations: 1.708 MB / 1.339 GB, free: 8.867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001703/1.247, allocations: 0.7956 MB / 1.34 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003695/1.251, allocations: 1.528 MB / 1.342 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.262, allocations: 5.165 MB / 1.347 GB, free: 5.395 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.262, allocations: 0 / 1.347 GB, free: 5.395 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.094e-06/1.262, allocations: 0 / 1.347 GB, free: 5.395 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001832/1.262, allocations: 1.562 kB / 1.347 GB, free: 5.395 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01024/1.272, allocations: 3.393 MB / 1.35 GB, free: 2.914 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.272, allocations: 9.906 kB / 1.35 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/1.274, allocations: 400 kB / 1.35 GB, free: 2.715 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/1.28, allocations: 2.645 MB / 1.353 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/1.28, allocations: 143.1 kB / 1.353 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/1.28, allocations: 185.7 kB / 1.353 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/1.283, allocations: 1.833 MB / 1.355 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/1.283, allocations: 5.281 kB / 1.355 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/1.284, allocations: 72.72 kB / 1.355 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/1.284, allocations: 44.66 kB / 1.355 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/1.286, allocations: 1.355 MB / 1.356 GB, free: 14.7 MB / 1.061 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.01115/1.297, allocations: 7.905 MB / 1.364 GB, free: 8.016 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/1.3, allocations: 0.8723 MB / 1.365 GB, free: 7.523 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/1.3, allocations: 320.7 kB / 1.365 GB, free: 7.363 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009649/1.301, allocations: 1.16 MB / 1.366 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008528/1.302, allocations: 400.1 kB / 1.367 GB, free: 5.766 MB / 1.061 GB Notification: Performance of pre-optimization done (n=66): time 2.865e-06/1.302, allocations: 4 kB / 1.367 GB, free: 5.762 MB / 1.061 GB Notification: Performance of matching and sorting (n=66): time 0.00286/1.305, allocations: 1.096 MB / 1.368 GB, free: 5.223 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/1.305, allocations: 136.5 kB / 1.368 GB, free: 5.062 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/1.309, allocations: 2.078 MB / 1.37 GB, free: 3.941 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/1.309, allocations: 45.89 kB / 1.37 GB, free: 3.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/1.31, allocations: 1.207 MB / 1.371 GB, free: 2.836 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/1.311, allocations: 248.2 kB / 1.372 GB, free: 2.625 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/1.311, allocations: 219.4 kB / 1.372 GB, free: 2.496 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.311, allocations: 346.9 kB / 1.372 GB, free: 2.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/1.312, allocations: 341.2 kB / 1.372 GB, free: 1.988 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/1.313, allocations: 0.6672 MB / 1.373 GB, free: 1.414 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/1.315, allocations: 0.9264 MB / 1.374 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.315, allocations: 2 kB / 1.374 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002656/1.317, allocations: 1.217 MB / 1.375 GB, free: 132 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.317, allocations: 7.938 kB / 1.375 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.317, allocations: 8.062 kB / 1.375 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/1.317, allocations: 17.19 kB / 1.375 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/1.318, allocations: 212.1 kB / 1.375 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/1.318, allocations: 16.94 kB / 1.375 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/1.32, allocations: 159.4 kB / 1.376 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.32, allocations: 46.95 kB / 1.376 GB, free: 15.95 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * 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.001289/1.321, allocations: 0.5699 MB / 1.376 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000626/1.322, allocations: 225 kB / 1.376 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/1.324, allocations: 1.023 MB / 1.377 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.324, allocations: 8.25 kB / 1.377 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.324, allocations: 3.984 kB / 1.377 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/1.326, allocations: 0.8126 MB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/1.331, allocations: 2.876 MB / 1.381 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.331, allocations: 2.781 kB / 1.381 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/1.331, allocations: 137.1 kB / 1.381 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.331, allocations: 4.125 kB / 1.381 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/1.331, allocations: 26.52 kB / 1.381 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.331, allocations: 4.438 kB / 1.381 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.331, allocations: 6.75 kB / 1.381 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/1.334, allocations: 1.49 MB / 1.383 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009242/1.335, allocations: 413.2 kB / 1.383 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/1.335, allocations: 22.22 kB / 1.383 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008607/1.336, allocations: 54.88 kB / 1.383 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/1.336, allocations: 55.77 kB / 1.383 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/1.336, allocations: 38.12 kB / 1.383 GB, free: 11.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002173/1.338, allocations: 1.415 MB / 1.385 GB, free: 10.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.338, allocations: 0 / 1.385 GB, free: 10.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002053/1.341, allocations: 0.667 MB / 1.385 GB, free: 10.15 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 64 * 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.002655/1.343, allocations: 1.138 MB / 1.386 GB, free: 9.641 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001951/1.345, allocations: 0.7966 MB / 1.387 GB, free: 9.285 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.345, allocations: 4.062 kB / 1.387 GB, free: 9.281 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/1.346, allocations: 372 kB / 1.387 GB, free: 9.117 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.35, allocations: 0.8986 MB / 1.388 GB, free: 8.641 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/1.357, allocations: 3.985 MB / 1.392 GB, free: 4.758 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.358, allocations: 1.595 MB / 1.394 GB, free: 3.129 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001519/1.359, allocations: 407 kB / 1.394 GB, free: 2.734 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/1.36, allocations: 175.4 kB / 1.394 GB, free: 2.562 MB / 1.076 GB Notification: Performance of SimCode: time 1.253e-06/1.36, allocations: 0 / 1.394 GB, free: 2.562 MB / 1.076 GB Notification: Performance of Templates: time 0.0682/1.428, allocations: 37.21 MB / 1.431 GB, free: 13.75 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches