Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9884/0.9884, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.19/2.19, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=29234,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=29234,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.053e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.05938/0.0594, allocations: 85.02 MB / 0.9613 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.08236, allocations: 21.26 MB / 0.982 GB, free: 12.02 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.0857, allocations: 138.9 kB / 0.9821 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.08818, allocations: 1.335 MB / 0.9835 GB, free: 10.54 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.09415, allocations: 3.201 MB / 0.9866 GB, free: 7.324 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.09863, allocations: 2.708 MB / 0.9892 GB, free: 4.609 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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 master/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.005534/0.1042, allocations: 6.08 MB / 0.9952 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.1063, allocations: 2.159 MB / 0.9973 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.1102, allocations: 3.462 MB / 1.001 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.1116, allocations: 1.516 MB / 1.002 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0003027/0.1119, allocations: 328 kB / 1.002 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.1142, allocations: 1.512 MB / 1.004 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005314/0.1147, allocations: 0.8719 MB / 1.005 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0008471/0.1156, allocations: 1.048 MB / 1.006 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.1188, allocations: 3.232 MB / 1.009 GB, free: 336 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1188, allocations: 0 / 1.009 GB, free: 336 kB / 0.9636 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1188, allocations: 0 / 1.009 GB, free: 336 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.812e-05/0.1188, allocations: 0 / 1.009 GB, free: 336 kB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.003332/0.1222, allocations: 3.597 MB / 1.012 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1222, allocations: 12.02 kB / 1.012 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007445/0.123, allocations: 0.5368 MB / 1.013 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.1256, allocations: 2.684 MB / 1.016 GB, free: 9.336 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.409e-05/0.1257, allocations: 159.5 kB / 1.016 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.1259, allocations: 195.9 kB / 1.016 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.1276, allocations: 1.613 MB / 1.018 GB, free: 7.23 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.1276, allocations: 0 / 1.018 GB, free: 7.23 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.1277, allocations: 80 kB / 1.018 GB, free: 7.152 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.1278, allocations: 48 kB / 1.018 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1289, allocations: 0.7071 MB / 1.018 GB, free: 6.395 MB / 0.9792 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.00553/0.1345, allocations: 6.854 MB / 1.025 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/0.1354, allocations: 0.5428 MB / 1.026 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1356, allocations: 165.6 kB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.1358, allocations: 112.6 kB / 1.026 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/0.1362, allocations: 416.2 kB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=66): time 2.916e-06/0.1362, allocations: 0 / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=66): time 0.0009916/0.1372, allocations: 0.7074 MB / 1.027 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1373, allocations: 141.2 kB / 1.027 GB, free: 13.16 MB / 0.9948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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 master/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.001582/0.1388, allocations: 1.828 MB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.1389, allocations: 49.7 kB / 1.029 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007426/0.1396, allocations: 1.348 MB / 1.03 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.1398, allocations: 250 kB / 1.03 GB, free: 9.633 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.14, allocations: 268.4 kB / 1.031 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1401, allocations: 0.516 MB / 1.031 GB, free: 8.84 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.1404, allocations: 146.5 kB / 1.031 GB, free: 8.695 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.1411, allocations: 1.27 MB / 1.033 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.1419, allocations: 0.9239 MB / 1.033 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1419, allocations: 4 kB / 1.033 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001112/0.143, allocations: 1.011 MB / 1.034 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.143, allocations: 8 kB / 1.034 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.143, allocations: 15.94 kB / 1.035 GB, free: 4.805 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.143, allocations: 20.75 kB / 1.035 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.1435, allocations: 251.6 kB / 1.035 GB, free: 4.539 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.1435, allocations: 27.88 kB / 1.035 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.144, allocations: 147.1 kB / 1.035 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.1441, allocations: 55.98 kB / 1.035 GB, free: 4.312 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.hys.y,$PRE.heaPum.hys.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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.0003178/0.1444, allocations: 240.2 kB / 1.035 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.1446, allocations: 246.5 kB / 1.035 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009644/0.1455, allocations: 0.7828 MB / 1.036 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.1456, allocations: 12 kB / 1.036 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1456, allocations: 0 / 1.036 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005765/0.1461, allocations: 0.5569 MB / 1.037 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.1485, allocations: 2.298 MB / 1.039 GB, free: 88 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1485, allocations: 4 kB / 1.039 GB, free: 84 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.1489, allocations: 139.9 kB / 1.039 GB, free: 15.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.1489, allocations: 4.188 kB / 1.039 GB, free: 15.94 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.1489, allocations: 31.92 kB / 1.039 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.1489, allocations: 7.938 kB / 1.039 GB, free: 15.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1489, allocations: 0 / 1.039 GB, free: 15.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.15, allocations: 1.085 MB / 1.04 GB, free: 14.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.1504, allocations: 334.2 kB / 1.041 GB, free: 14.44 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.1505, allocations: 27.98 kB / 1.041 GB, free: 14.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.1509, allocations: 43.92 kB / 1.041 GB, free: 14.37 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.151, allocations: 68.47 kB / 1.041 GB, free: 14.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.151, allocations: 43.97 kB / 1.041 GB, free: 14.26 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009831/0.152, allocations: 1.049 MB / 1.042 GB, free: 13.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.152, allocations: 0 / 1.042 GB, free: 13.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001218/0.1532, allocations: 0.7242 MB / 1.042 GB, free: 12.47 MB / 1.01 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.eff.hys.y,heaPum.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 (81): * Single equations (assignments): 73 * 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.001995/0.1552, allocations: 1.145 MB / 1.044 GB, free: 11.63 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007491/0.1559, allocations: 0.5614 MB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1559, allocations: 0 / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.1563, allocations: 266.8 kB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.158, allocations: 0.8133 MB / 1.045 GB, free: 10 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.1621, allocations: 3.716 MB / 1.049 GB, free: 6.199 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1624, allocations: 434.2 kB / 1.049 GB, free: 5.754 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000727/0.1631, allocations: 378.3 kB / 1.05 GB, free: 5.391 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.1634, allocations: 184.3 kB / 1.05 GB, free: 5.211 MB / 1.01 GB Notification: Performance of SimCode: time 7.92e-07/0.1634, allocations: 0 / 1.05 GB, free: 5.211 MB / 1.01 GB Notification: Performance of Templates: time 0.3966/0.5599, allocations: 36.73 MB / 1.086 GB, free: 208.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.675522120902315]