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.001161/0.001161, allocations: 108 kB / 16.41 MB, free: 6.027 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.001176/0.001176, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 60.11 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8338/0.8352, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03664/0.8719, allocations: 37.33 MB / 1.245 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1574/1.029, allocations: 148.6 MB / 1.39 GB, free: 3.082 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/1.032, allocations: 55.75 kB / 1.39 GB, free: 3.027 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004969/1.037, allocations: 1.61 MB / 1.392 GB, free: 1.414 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005918/1.043, allocations: 2.151 MB / 1.394 GB, free: 15.26 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/1.047, allocations: 1.496 MB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01041/1.057, allocations: 6.197 MB / 1.401 GB, free: 7.562 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/1.06, allocations: 1.141 MB / 1.402 GB, free: 6.391 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/1.064, allocations: 1.502 MB / 1.404 GB, free: 4.883 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/1.066, allocations: 0.9881 MB / 1.405 GB, free: 3.891 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005344/1.067, allocations: 124 kB / 1.405 GB, free: 3.77 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/1.07, allocations: 1.139 MB / 1.406 GB, free: 2.629 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009538/1.071, allocations: 0.5062 MB / 1.406 GB, free: 2.121 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/1.073, allocations: 0.8629 MB / 1.407 GB, free: 1.254 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005704/1.079, allocations: 2.722 MB / 1.41 GB, free: 14.52 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.079, allocations: 0 / 1.41 GB, free: 14.52 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.795e-06/1.079, allocations: 4 kB / 1.41 GB, free: 14.52 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.515e-05/1.079, allocations: 0 / 1.41 GB, free: 14.52 MB / 1.139 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.005464/1.084, allocations: 2.085 MB / 1.412 GB, free: 12.37 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.084, allocations: 8.031 kB / 1.412 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/1.086, allocations: 349.6 kB / 1.412 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/1.091, allocations: 2.185 MB / 1.414 GB, free: 9.781 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.562e-05/1.091, allocations: 62 kB / 1.415 GB, free: 9.723 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/1.091, allocations: 76 kB / 1.415 GB, free: 9.648 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/1.093, allocations: 0.8503 MB / 1.415 GB, free: 8.762 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/1.093, allocations: 4 kB / 1.415 GB, free: 8.758 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/1.093, allocations: 32 kB / 1.415 GB, free: 8.727 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/1.093, allocations: 29.98 kB / 1.415 GB, free: 8.699 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/1.095, allocations: 0.6557 MB / 1.416 GB, free: 8.043 MB / 1.139 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.006668/1.102, allocations: 3.865 MB / 1.42 GB, free: 3.977 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.103, allocations: 0.497 MB / 1.42 GB, free: 3.473 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/1.104, allocations: 246 kB / 1.421 GB, free: 3.23 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003121/1.107, allocations: 1.818 MB / 1.422 GB, free: 1.219 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/1.107, allocations: 46.55 kB / 1.422 GB, free: 1.164 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 2.825e-06/1.107, allocations: 0 / 1.422 GB, free: 1.164 MB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.002109/1.109, allocations: 0.7302 MB / 1.423 GB, free: 436 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.109, allocations: 59.41 kB / 1.423 GB, free: 364 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/1.112, allocations: 1.546 MB / 1.425 GB, free: 14.8 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/1.112, allocations: 37.7 kB / 1.425 GB, free: 14.76 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006438/1.112, allocations: 0.6724 MB / 1.425 GB, free: 14.08 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/1.113, allocations: 161.7 kB / 1.426 GB, free: 13.92 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/1.113, allocations: 254.3 kB / 1.426 GB, free: 13.66 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.113, allocations: 357.9 kB / 1.426 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008392/1.114, allocations: 421 kB / 1.427 GB, free: 12.89 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/1.115, allocations: 0.7101 MB / 1.427 GB, free: 12.07 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/1.117, allocations: 1.027 MB / 1.428 GB, free: 10.94 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.117, allocations: 0 / 1.428 GB, free: 10.94 MB / 1.154 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002576/1.119, allocations: 1.29 MB / 1.429 GB, free: 9.645 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.12, allocations: 8 kB / 1.43 GB, free: 9.637 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/1.12, allocations: 8.406 kB / 1.43 GB, free: 9.629 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/1.12, allocations: 16 kB / 1.43 GB, free: 9.613 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008982/1.12, allocations: 227.6 kB / 1.43 GB, free: 9.391 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/1.121, allocations: 23.86 kB / 1.43 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.122, allocations: 126.9 kB / 1.43 GB, free: 9.242 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-05/1.122, allocations: 47.98 kB / 1.43 GB, free: 9.195 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001304/1.123, allocations: 0.752 MB / 1.431 GB, free: 8.441 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009781/1.124, allocations: 0.6944 MB / 1.431 GB, free: 7.633 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001599/1.126, allocations: 1.019 MB / 1.432 GB, free: 6.516 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.414e-06/1.126, allocations: 4 kB / 1.432 GB, free: 6.512 MB / 1.154 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002371/1.128, allocations: 1.266 MB / 1.434 GB, free: 5.234 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.128, allocations: 8 kB / 1.434 GB, free: 5.227 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.128, allocations: 8 kB / 1.434 GB, free: 5.219 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.128, allocations: 15.94 kB / 1.434 GB, free: 5.203 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008579/1.129, allocations: 236 kB / 1.434 GB, free: 4.973 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/1.129, allocations: 12 kB / 1.434 GB, free: 4.961 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.13, allocations: 111.2 kB / 1.434 GB, free: 4.852 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/1.13, allocations: 47.98 kB / 1.434 GB, free: 4.805 MB / 1.154 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.0002939/1.131, allocations: 239.9 kB / 1.434 GB, free: 4.562 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/1.131, allocations: 134.2 kB / 1.434 GB, free: 4.43 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/1.133, allocations: 0.7214 MB / 1.435 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.133, allocations: 4 kB / 1.435 GB, free: 3.699 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.133, allocations: 0 / 1.435 GB, free: 3.699 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/1.134, allocations: 0.7509 MB / 1.436 GB, free: 2.879 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/1.138, allocations: 1.786 MB / 1.438 GB, free: 1.027 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.138, allocations: 0 / 1.438 GB, free: 1.027 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/1.138, allocations: 112 kB / 1.438 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/1.138, allocations: 4 kB / 1.438 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/1.138, allocations: 15.92 kB / 1.438 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/1.138, allocations: 8 kB / 1.438 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.138, allocations: 4 kB / 1.438 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/1.141, allocations: 1.044 MB / 1.439 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005769/1.141, allocations: 303 kB / 1.439 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/1.142, allocations: 15.94 kB / 1.439 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/1.142, allocations: 35.97 kB / 1.439 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/1.142, allocations: 39.89 kB / 1.439 GB, free: 15.4 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/1.143, allocations: 19.98 kB / 1.439 GB, free: 15.38 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001843/1.144, allocations: 1.036 MB / 1.44 GB, free: 14.35 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.01e-07/1.144, allocations: 0 / 1.44 GB, free: 14.35 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00257/1.147, allocations: 0.7486 MB / 1.441 GB, free: 13.61 MB / 1.17 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.001488/1.148, allocations: 0.5188 MB / 1.441 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003188/1.152, allocations: 1.448 MB / 1.443 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.152, allocations: 0 / 1.443 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000714/1.152, allocations: 272 kB / 1.443 GB, free: 11.37 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.156, allocations: 0.706 MB / 1.444 GB, free: 10.69 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005859/1.162, allocations: 2.615 MB / 1.446 GB, free: 8.02 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.164, allocations: 1.291 MB / 1.448 GB, free: 6.699 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/1.164, allocations: 131.4 kB / 1.448 GB, free: 6.57 MB / 1.17 GB Notification: Performance of SimCode: time 2.535e-06/1.164, allocations: 0 / 1.448 GB, free: 6.57 MB / 1.17 GB Notification: Performance of Templates: time 0.04286/1.207, allocations: 26.01 MB / 1.473 GB, free: 12.74 MB / 1.201 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