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.00553/0.00553, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001075/0.001075, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.12 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2739, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03874/0.3127, allocations: 37.32 MB / 1.244 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7251/1.038, allocations: 148.6 MB / 1.389 GB, free: 3.285 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/1.039, allocations: 58.66 kB / 1.389 GB, free: 3.262 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004218/1.044, allocations: 1.588 MB / 1.391 GB, free: 2.184 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005155/1.049, allocations: 2.141 MB / 1.393 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/1.052, allocations: 1.514 MB / 1.394 GB, free: 15.44 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00851/1.061, allocations: 6.198 MB / 1.4 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/1.063, allocations: 1.132 MB / 1.402 GB, free: 11.42 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/1.066, allocations: 1.502 MB / 1.403 GB, free: 10.54 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/1.068, allocations: 0.9976 MB / 1.404 GB, free: 9.918 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000316/1.068, allocations: 120.1 kB / 1.404 GB, free: 9.918 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/1.071, allocations: 1.136 MB / 1.405 GB, free: 9.332 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006037/1.071, allocations: 0.503 MB / 1.406 GB, free: 8.988 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/1.072, allocations: 0.8543 MB / 1.407 GB, free: 8.406 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003359/1.076, allocations: 2.729 MB / 1.409 GB, free: 6.559 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.076, allocations: 0 / 1.409 GB, free: 6.559 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.523e-06/1.076, allocations: 0 / 1.409 GB, free: 6.559 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.868e-05/1.076, allocations: 4 kB / 1.409 GB, free: 6.555 MB / 1.092 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.00332/1.079, allocations: 2.087 MB / 1.411 GB, free: 4.957 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.079, allocations: 8.875 kB / 1.411 GB, free: 4.957 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/1.081, allocations: 353.1 kB / 1.412 GB, free: 4.793 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/1.084, allocations: 2.172 MB / 1.414 GB, free: 3.324 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/1.084, allocations: 62.73 kB / 1.414 GB, free: 3.297 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.085, allocations: 86.72 kB / 1.414 GB, free: 3.266 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/1.086, allocations: 0.8444 MB / 1.415 GB, free: 2.727 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/1.086, allocations: 4 kB / 1.415 GB, free: 2.723 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/1.086, allocations: 31.88 kB / 1.415 GB, free: 2.699 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/1.086, allocations: 33.61 kB / 1.415 GB, free: 2.688 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.088, allocations: 0.6518 MB / 1.415 GB, free: 2.035 MB / 1.092 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.005116/1.093, allocations: 3.875 MB / 1.419 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/1.094, allocations: 0.4962 MB / 1.42 GB, free: 13.46 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/1.095, allocations: 240.7 kB / 1.42 GB, free: 13.22 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002629/1.097, allocations: 1.818 MB / 1.422 GB, free: 11.21 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/1.098, allocations: 34.56 kB / 1.422 GB, free: 11.16 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 1.874e-06/1.098, allocations: 4 kB / 1.422 GB, free: 11.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.001862/1.099, allocations: 0.7264 MB / 1.422 GB, free: 10.43 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/1.099, allocations: 63.33 kB / 1.423 GB, free: 10.35 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/1.101, allocations: 1.546 MB / 1.424 GB, free: 8.797 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/1.102, allocations: 37.7 kB / 1.424 GB, free: 8.754 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/1.102, allocations: 0.6725 MB / 1.425 GB, free: 8.074 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/1.102, allocations: 165.7 kB / 1.425 GB, free: 7.91 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/1.103, allocations: 250.4 kB / 1.425 GB, free: 7.66 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.103, allocations: 357.8 kB / 1.425 GB, free: 7.305 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/1.104, allocations: 429 kB / 1.426 GB, free: 6.887 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/1.105, allocations: 0.701 MB / 1.427 GB, free: 6.082 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/1.106, allocations: 1.031 MB / 1.428 GB, free: 4.949 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.106, allocations: 4 kB / 1.428 GB, free: 4.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002275/1.109, allocations: 1.29 MB / 1.429 GB, free: 3.652 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.109, allocations: 13.19 kB / 1.429 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.109, allocations: 8 kB / 1.429 GB, free: 3.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.109, allocations: 12.41 kB / 1.429 GB, free: 3.621 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/1.11, allocations: 231.7 kB / 1.429 GB, free: 3.395 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.11, allocations: 19.92 kB / 1.429 GB, free: 3.375 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/1.111, allocations: 131.8 kB / 1.429 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/1.111, allocations: 43.98 kB / 1.429 GB, free: 3.203 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00119/1.112, allocations: 0.7482 MB / 1.43 GB, free: 2.453 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009218/1.113, allocations: 0.6906 MB / 1.431 GB, free: 1.652 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001524/1.114, allocations: 1.026 MB / 1.432 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/1.114, allocations: 0 / 1.432 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002167/1.116, allocations: 1.271 MB / 1.433 GB, free: 15.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.117, allocations: 8 kB / 1.433 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.117, allocations: 8 kB / 1.433 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.117, allocations: 12 kB / 1.433 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/1.117, allocations: 234.7 kB / 1.433 GB, free: 14.99 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.117, allocations: 15.94 kB / 1.433 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/1.118, allocations: 107.1 kB / 1.433 GB, free: 14.87 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/1.118, allocations: 43.98 kB / 1.433 GB, free: 14.83 MB / 1.123 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.0002269/1.119, allocations: 239.9 kB / 1.434 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/1.119, allocations: 138.2 kB / 1.434 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/1.121, allocations: 0.728 MB / 1.434 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.121, allocations: 4 kB / 1.434 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.121, allocations: 3.938 kB / 1.434 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/1.122, allocations: 0.747 MB / 1.435 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/1.125, allocations: 1.786 MB / 1.437 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.125, allocations: 0 / 1.437 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/1.126, allocations: 108 kB / 1.437 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/1.126, allocations: 4 kB / 1.437 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/1.126, allocations: 19.98 kB / 1.437 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/1.126, allocations: 11.88 kB / 1.437 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.126, allocations: 0 / 1.437 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/1.128, allocations: 1.047 MB / 1.438 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/1.129, allocations: 291.2 kB / 1.438 GB, free: 9.512 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/1.129, allocations: 16.86 kB / 1.438 GB, free: 9.496 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/1.13, allocations: 43.81 kB / 1.438 GB, free: 9.453 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/1.13, allocations: 35.89 kB / 1.438 GB, free: 9.418 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/1.13, allocations: 23.98 kB / 1.438 GB, free: 9.395 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00154/1.131, allocations: 1.039 MB / 1.439 GB, free: 8.359 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.131, allocations: 0 / 1.439 GB, free: 8.359 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002007/1.133, allocations: 0.737 MB / 1.44 GB, free: 7.621 MB / 1.123 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.00126/1.135, allocations: 0.5291 MB / 1.441 GB, free: 7.094 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002811/1.137, allocations: 1.44 MB / 1.442 GB, free: 5.66 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.137, allocations: 4.062 kB / 1.442 GB, free: 5.656 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006361/1.138, allocations: 272.1 kB / 1.442 GB, free: 5.391 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/1.141, allocations: 0.7027 MB / 1.443 GB, free: 4.711 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/1.145, allocations: 2.54 MB / 1.445 GB, free: 2.129 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.146, allocations: 1.291 MB / 1.447 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00138/1.148, allocations: 399.4 kB / 1.447 GB, free: 420 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/1.148, allocations: 127.4 kB / 1.447 GB, free: 296 kB / 1.123 GB Notification: Performance of SimCode: time 6.62e-07/1.148, allocations: 0 / 1.447 GB, free: 296 kB / 1.123 GB Notification: Performance of Templates: time 0.04665/1.195, allocations: 29.08 MB / 1.476 GB, free: 3.566 MB / 1.154 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/jenkins/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