Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|steTra.port_a.p|steTra.port_b.p|steTra.sta_a.T|steTra.sta_b.T|hIn.h_out|hOut.h_out|steTra.m_flow|steTra.QLos_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|steTra.port_a.p|steTra.port_b.p|steTra.sta_a.T|steTra.sta_b.T|hIn.h_out|hOut.h_out|steTra.m_flow|steTra.QLos_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.001784/0.001784, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.396/1.396, 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 11.0.1-master/package.mo): time 2.653/2.653, allocations: 469.4 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.58 kB / 0.9088 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3324, allocations: 159.1 MB / 1.064 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.575/0.9075, allocations: 37.31 MB / 1.101 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1897/1.097, allocations: 148.6 MB / 1.246 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002844/1.1, allocations: 47.75 kB / 1.246 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008682/1.109, allocations: 4.024 MB / 1.25 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006384/1.115, allocations: 1.963 MB / 1.252 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/1.119, allocations: 1.434 MB / 1.253 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008855/1.128, allocations: 6.077 MB / 1.259 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/1.13, allocations: 1.115 MB / 1.26 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/1.134, allocations: 1.426 MB / 1.261 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/1.136, allocations: 0.9606 MB / 1.262 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004478/1.137, allocations: 115.9 kB / 1.263 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/1.14, allocations: 1.111 MB / 1.264 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007291/1.14, allocations: 0.5023 MB / 1.264 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/1.142, allocations: 0.8551 MB / 1.265 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004189/1.146, allocations: 2.656 MB / 1.268 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.146, allocations: 0 / 1.268 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/1.146, allocations: 0 / 1.268 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.556e-05/1.146, allocations: 4 kB / 1.268 GB, free: 8.867 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003315/1.15, allocations: 2.066 MB / 1.27 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.15, allocations: 12.58 kB / 1.27 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/1.151, allocations: 357.5 kB / 1.27 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/1.154, allocations: 2.083 MB / 1.272 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.306e-05/1.155, allocations: 65.98 kB / 1.272 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.155, allocations: 87.88 kB / 1.272 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/1.156, allocations: 0.8465 MB / 1.273 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.156, allocations: 4 kB / 1.273 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/1.156, allocations: 32 kB / 1.273 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/1.156, allocations: 33.92 kB / 1.273 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.158, allocations: 0.6557 MB / 1.274 GB, free: 2.484 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.00538/1.163, allocations: 3.88 MB / 1.277 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.165, allocations: 0.5201 MB / 1.278 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/1.165, allocations: 244.7 kB / 1.278 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002709/1.168, allocations: 1.814 MB / 1.28 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/1.168, allocations: 38.92 kB / 1.28 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/1.168, allocations: 0 / 1.28 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.001848/1.17, allocations: 0.7388 MB / 1.281 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/1.17, allocations: 59.36 kB / 1.281 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.172, allocations: 1.527 MB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/1.172, allocations: 37.64 kB / 1.282 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/1.172, allocations: 0.6764 MB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/1.173, allocations: 161.8 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/1.173, allocations: 250.3 kB / 1.283 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.173, allocations: 357.9 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/1.174, allocations: 432.9 kB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009892/1.175, allocations: 0.699 MB / 1.285 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/1.176, allocations: 1.031 MB / 1.286 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.176, allocations: 4 kB / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002286/1.179, allocations: 1.302 MB / 1.287 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.179, allocations: 8 kB / 1.287 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.179, allocations: 8 kB / 1.287 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/1.179, allocations: 12 kB / 1.287 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/1.18, allocations: 228.1 kB / 1.287 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/1.18, allocations: 19.92 kB / 1.287 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.181, allocations: 131.5 kB / 1.287 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/1.181, allocations: 44 kB / 1.287 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001246/1.182, allocations: 0.7559 MB / 1.288 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009291/1.183, allocations: 0.6867 MB / 1.289 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001477/1.185, allocations: 1.019 MB / 1.29 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-05/1.185, allocations: 8 kB / 1.29 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002181/1.187, allocations: 1.273 MB / 1.291 GB, free: 15.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.187, allocations: 8 kB / 1.291 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.187, allocations: 15.98 kB / 1.291 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.187, allocations: 12 kB / 1.291 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/1.188, allocations: 228 kB / 1.291 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/1.188, allocations: 19.92 kB / 1.291 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009594/1.189, allocations: 99.77 kB / 1.291 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/1.189, allocations: 47.94 kB / 1.292 GB, free: 15.23 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (115): * Single equations (assignments): 113 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002427/1.189, allocations: 236 kB / 1.292 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/1.189, allocations: 146.1 kB / 1.292 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/1.191, allocations: 0.733 MB / 1.293 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/1.191, allocations: 8 kB / 1.293 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.191, allocations: 0 / 1.293 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/1.192, allocations: 0.747 MB / 1.293 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/1.195, allocations: 1.79 MB / 1.295 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.195, allocations: 4 kB / 1.295 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/1.196, allocations: 103.9 kB / 1.295 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.196, allocations: 7.938 kB / 1.295 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/1.196, allocations: 27.86 kB / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.196, allocations: 0 / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.196, allocations: 8.125 kB / 1.295 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/1.198, allocations: 1.044 MB / 1.296 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/1.199, allocations: 299 kB / 1.297 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/1.199, allocations: 23.88 kB / 1.297 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/1.199, allocations: 35.97 kB / 1.297 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/1.2, allocations: 31.95 kB / 1.297 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/1.2, allocations: 23.98 kB / 1.297 GB, free: 9.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001394/1.201, allocations: 1.024 MB / 1.298 GB, free: 8.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.201, allocations: 4 kB / 1.298 GB, free: 8.746 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001974/1.203, allocations: 0.7408 MB / 1.298 GB, free: 8.004 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],hIn.h_out,hOut.h_out) * 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 (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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.001116/1.204, allocations: 0.5119 MB / 1.299 GB, free: 7.492 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002951/1.207, allocations: 1.492 MB / 1.3 GB, free: 6.004 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.207, allocations: 0 / 1.3 GB, free: 6.004 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000622/1.208, allocations: 285.5 kB / 1.301 GB, free: 5.727 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.211, allocations: 0.7127 MB / 1.301 GB, free: 5.039 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/1.215, allocations: 2.659 MB / 1.304 GB, free: 2.324 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/1.216, allocations: 1.291 MB / 1.305 GB, free: 1.004 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/1.217, allocations: 131.4 kB / 1.305 GB, free: 0.875 MB / 1.014 GB Notification: Performance of SimCode: time 1.743e-06/1.217, allocations: 0 / 1.305 GB, free: 0.875 MB / 1.014 GB Notification: Performance of Templates: time 0.0373/1.254, allocations: 25.78 MB / 1.33 GB, free: 7.281 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches