Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008726/0.008726, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004184, allocations: 11.98 kB / 0.8159 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7093, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.2818/0.9911, allocations: 250.2 MB / 1.199 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01679/1.008, allocations: 9.628 MB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/1.011, allocations: 67.56 kB / 1.209 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00311/1.014, allocations: 0.8199 MB / 1.21 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008151/1.023, allocations: 2.474 MB / 1.212 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005624/1.028, allocations: 1.931 MB / 1.214 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006982/1.035, allocations: 5.434 MB / 1.219 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/1.038, allocations: 1.283 MB / 1.221 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/1.042, allocations: 1.676 MB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/1.045, allocations: 1.227 MB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004987/1.046, allocations: 64 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006529/1.052, allocations: 3.491 MB / 1.227 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000868/1.053, allocations: 478.1 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00187/1.055, allocations: 0.9146 MB / 1.228 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006432/1.061, allocations: 3.672 MB / 1.232 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/1.062, allocations: 4 kB / 1.232 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/1.062, allocations: 0 / 1.232 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.149e-05/1.062, allocations: 0 / 1.232 GB, free: 2.988 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004924/1.067, allocations: 2.121 MB / 1.234 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.067, allocations: 11.97 kB / 1.234 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/1.071, allocations: 0.6532 MB / 1.235 GB, free: 124 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005282/1.076, allocations: 1.375 MB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005764/1.077, allocations: 154.2 kB / 1.236 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007048/1.078, allocations: 127.9 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/1.083, allocations: 1.435 MB / 1.238 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/1.083, allocations: 0 / 1.238 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/1.083, allocations: 48 kB / 1.238 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/1.084, allocations: 50.2 kB / 1.238 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/1.087, allocations: 1.215 MB / 1.239 GB, free: 11.59 MB / 0.9981 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.01051/1.098, allocations: 5.724 MB / 1.244 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/1.1, allocations: 1.058 MB / 1.245 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.101, allocations: 0.5447 MB / 1.246 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006322/1.101, allocations: 327.9 kB / 1.246 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.103, allocations: 0.5773 MB / 1.247 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.186e-06/1.103, allocations: 0 / 1.247 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.5244/1.627, allocations: 3.583 MB / 1.25 GB, free: 285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/1.627, allocations: 94.45 kB / 1.25 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/1.631, allocations: 1.35 MB / 1.252 GB, free: 284.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/1.631, allocations: 43.48 kB / 1.252 GB, free: 284.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009539/1.632, allocations: 0.7309 MB / 1.252 GB, free: 284.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/1.633, allocations: 317.6 kB / 1.253 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/1.633, allocations: 88.27 kB / 1.253 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.633, allocations: 343.2 kB / 1.253 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/1.635, allocations: 461.5 kB / 1.254 GB, free: 283.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.637, allocations: 0.6637 MB / 1.254 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01872/1.655, allocations: 3.631 MB / 1.258 GB, free: 282 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/1.655, allocations: 1.344 kB / 1.258 GB, free: 282 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004004/1.659, allocations: 1.54 MB / 1.259 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.659, allocations: 248.7 kB / 1.26 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.66, allocations: 3.875 kB / 1.26 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008108/1.66, allocations: 230 kB / 1.26 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.661, allocations: 205.1 kB / 1.26 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/1.665, allocations: 4.291 MB / 1.264 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.667, allocations: 142.6 kB / 1.264 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.667, allocations: 44.77 kB / 1.264 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/1.667, allocations: 3.281 kB / 1.264 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00284/1.67, allocations: 1.371 MB / 1.266 GB, free: 276.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.67, allocations: 4.438 kB / 1.266 GB, free: 276.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004945/1.67, allocations: 210 kB / 1.266 GB, free: 276.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/1.671, allocations: 207.1 kB / 1.266 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/1.675, allocations: 5.299 MB / 1.271 GB, free: 271.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.677, allocations: 141.8 kB / 1.271 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.856e-05/1.677, allocations: 42.14 kB / 1.271 GB, free: 271.6 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000869/1.678, allocations: 0.5026 MB / 1.272 GB, free: 271.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/1.678, allocations: 162.3 kB / 1.272 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/1.681, allocations: 1.322 MB / 1.273 GB, free: 270.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.681, allocations: 9.094 kB / 1.273 GB, free: 270.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.681, allocations: 0 / 1.273 GB, free: 270.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002169/1.683, allocations: 1.175 MB / 1.275 GB, free: 269.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/1.689, allocations: 3.075 MB / 1.278 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.689, allocations: 2.719 kB / 1.278 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/1.69, allocations: 197.5 kB / 1.278 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/1.69, allocations: 46.2 kB / 1.278 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-05/1.69, allocations: 30.02 kB / 1.278 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003244/1.69, allocations: 0.5942 MB / 1.278 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.69, allocations: 3.812 kB / 1.278 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/1.694, allocations: 2.019 MB / 1.28 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008127/1.695, allocations: 339.8 kB / 1.281 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/1.695, allocations: 31.83 kB / 1.281 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.696, allocations: 109.2 kB / 1.281 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.696, allocations: 78.84 kB / 1.281 GB, free: 265.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/1.697, allocations: 37.8 kB / 1.281 GB, free: 265.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001322/1.698, allocations: 0.9162 MB / 1.282 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.698, allocations: 0 / 1.282 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00248/1.7, allocations: 0.6923 MB / 1.283 GB, free: 264.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006522/1.701, allocations: 305.6 kB / 1.283 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004219/1.705, allocations: 2.57 MB / 1.285 GB, free: 263.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.705, allocations: 0 / 1.285 GB, free: 263.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.706, allocations: 0.6174 MB / 1.286 GB, free: 262.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/1.711, allocations: 0.8301 MB / 1.287 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/1.717, allocations: 3.933 MB / 1.291 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/1.718, allocations: 1.343 MB / 1.292 GB, free: 258.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001594/1.72, allocations: 348.7 kB / 1.292 GB, free: 258.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/1.72, allocations: 111 kB / 1.292 GB, free: 258.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.72, allocations: 4 kB / 1.292 GB, free: 258.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04474/1.765, allocations: 31.08 MB / 1.323 GB, free: 229.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches