Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 176.6 kB / 16.92 MB, free: 6.652 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 462.7 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 19 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.347, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.08112/0.4282, allocations: 73.52 MB / 1.131 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02164/0.4499, allocations: 15.03 MB / 1.146 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.453, allocations: 59.62 kB / 1.146 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.4557, allocations: 0.6798 MB / 1.146 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00757/0.4633, allocations: 2.387 MB / 1.149 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.4672, allocations: 1.268 MB / 1.15 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007316/0.4745, allocations: 5.553 MB / 1.155 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002368/0.4769, allocations: 1.159 MB / 1.157 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.4802, allocations: 1.326 MB / 1.158 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.4827, allocations: 1.147 MB / 1.159 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004369/0.4831, allocations: 56 kB / 1.159 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.4868, allocations: 1.263 MB / 1.16 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006263/0.4875, allocations: 286.6 kB / 1.161 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.4893, allocations: 0.8061 MB / 1.161 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.4927, allocations: 2.159 MB / 1.163 GB, free: 9.949 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4928, allocations: 0 / 1.163 GB, free: 9.949 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.524e-06/0.4928, allocations: 0 / 1.163 GB, free: 9.949 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.89e-05/0.4929, allocations: 4 kB / 1.163 GB, free: 9.945 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004529/0.4974, allocations: 1.791 MB / 1.165 GB, free: 8.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4975, allocations: 15.97 kB / 1.165 GB, free: 8.074 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.4986, allocations: 230.9 kB / 1.165 GB, free: 7.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.5017, allocations: 1.497 MB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/0.5018, allocations: 81.94 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.5021, allocations: 100 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.5046, allocations: 1.124 MB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.5047, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.5048, allocations: 40 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.5048, allocations: 28 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.507, allocations: 0.9368 MB / 1.169 GB, free: 3.953 MB / 0.92 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.007322/0.5144, allocations: 4.923 MB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.5159, allocations: 0.636 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.5167, allocations: 375.5 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007451/0.5175, allocations: 0.8355 MB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.5175, allocations: 43.06 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.695e-06/0.5175, allocations: 0 / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.005257/0.5228, allocations: 1.518 MB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5229, allocations: 63.97 kB / 1.177 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.525, allocations: 1.21 MB / 1.179 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.5252, allocations: 41.7 kB / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/0.5258, allocations: 0.6143 MB / 1.179 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.5261, allocations: 212.9 kB / 1.179 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.5262, allocations: 61.69 kB / 1.179 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5264, allocations: 337.9 kB / 1.18 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007456/0.5271, allocations: 301.8 kB / 1.18 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/0.5281, allocations: 0.5077 MB / 1.181 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.5297, allocations: 0.7433 MB / 1.181 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.5297, allocations: 4 kB / 1.181 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005133/0.5349, allocations: 1.406 MB / 1.183 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.535, allocations: 193.4 kB / 1.183 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5351, allocations: 4 kB / 1.183 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/0.5358, allocations: 168.6 kB / 1.183 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/0.5365, allocations: 167.8 kB / 1.183 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009743/0.5375, allocations: 0.724 MB / 1.184 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.5389, allocations: 167.1 kB / 1.184 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/0.539, allocations: 35.98 kB / 1.184 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.539, allocations: 4 kB / 1.184 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004645/0.5436, allocations: 1.245 MB / 1.185 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5437, allocations: 4 kB / 1.185 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/0.5443, allocations: 173 kB / 1.185 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.545, allocations: 159.8 kB / 1.186 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008964/0.5459, allocations: 0.7279 MB / 1.186 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.5472, allocations: 164.6 kB / 1.186 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/0.5473, allocations: 28 kB / 1.187 GB, free: 1.395 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007687/0.5481, allocations: 425 kB / 1.187 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/0.5485, allocations: 138.3 kB / 1.187 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/0.5535, allocations: 1.393 MB / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.5536, allocations: 8 kB / 1.188 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5536, allocations: 0 / 1.188 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004351/0.558, allocations: 1.221 MB / 1.19 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004902/0.5629, allocations: 2.36 MB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.5629, allocations: 4 kB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.5634, allocations: 124.2 kB / 1.192 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/0.5641, allocations: 152.7 kB / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/0.5641, allocations: 16 kB / 1.192 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008433/0.565, allocations: 0.7278 MB / 1.193 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.565, allocations: 8.062 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.568, allocations: 1.454 MB / 1.194 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007881/0.5688, allocations: 339 kB / 1.195 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/0.5691, allocations: 16 kB / 1.195 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5703, allocations: 91.91 kB / 1.195 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5704, allocations: 60.25 kB / 1.195 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/0.5705, allocations: 31.97 kB / 1.195 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001484/0.572, allocations: 0.8662 MB / 1.196 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.035e-06/0.572, allocations: 3.938 kB / 1.196 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002133/0.5741, allocations: 0.7018 MB / 1.196 GB, free: 6.977 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.5752, allocations: 452.8 kB / 1.197 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002854/0.578, allocations: 1.18 MB / 1.198 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5781, allocations: 0 / 1.198 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009771/0.579, allocations: 415.2 kB / 1.198 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/0.5837, allocations: 0.7979 MB / 1.199 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.5884, allocations: 2.864 MB / 1.202 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/0.5893, allocations: 1.169 MB / 1.203 GB, free: 28 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.5897, allocations: 115.4 kB / 1.203 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of SimCode: time 9.11e-07/0.5898, allocations: 0 / 1.203 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.04293/0.6327, allocations: 30.74 MB / 1.233 GB, free: 1.352 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches