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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 108.4 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001984, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 489.2 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 64.09 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.04468/1.08, allocations: 37.36 MB / 1.299 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2202/1.301, allocations: 148.6 MB / 1.444 GB, free: 12.59 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/1.304, allocations: 50.12 kB / 1.444 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006375/1.31, allocations: 1.594 MB / 1.446 GB, free: 11.49 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007654/1.318, allocations: 2.069 MB / 1.448 GB, free: 9.863 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004833/1.323, allocations: 1.5 MB / 1.449 GB, free: 8.809 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0109/1.334, allocations: 5.928 MB / 1.455 GB, free: 3.023 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/1.336, allocations: 1.126 MB / 1.456 GB, free: 1.867 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/1.341, allocations: 1.614 MB / 1.458 GB, free: 256 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/1.344, allocations: 0.957 MB / 1.459 GB, free: 15.29 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005521/1.344, allocations: 123.9 kB / 1.459 GB, free: 15.17 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/1.348, allocations: 1.127 MB / 1.46 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009378/1.349, allocations: 0.4945 MB / 1.46 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001904/1.35, allocations: 0.8473 MB / 1.461 GB, free: 12.69 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005786/1.356, allocations: 2.705 MB / 1.464 GB, free: 9.977 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.356, allocations: 0 / 1.464 GB, free: 9.977 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.797e-06/1.356, allocations: 4 kB / 1.464 GB, free: 9.973 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.475e-05/1.356, allocations: 3.938 kB / 1.464 GB, free: 9.969 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.004203/1.361, allocations: 2.115 MB / 1.466 GB, free: 7.789 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.361, allocations: 8.031 kB / 1.466 GB, free: 7.781 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/1.362, allocations: 358.6 kB / 1.466 GB, free: 7.43 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/1.366, allocations: 2.174 MB / 1.468 GB, free: 5.203 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/1.367, allocations: 58 kB / 1.468 GB, free: 5.148 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/1.367, allocations: 79.98 kB / 1.468 GB, free: 5.07 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.368, allocations: 0.8541 MB / 1.469 GB, free: 4.18 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.368, allocations: 4 kB / 1.469 GB, free: 4.176 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/1.369, allocations: 28 kB / 1.469 GB, free: 4.148 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/1.369, allocations: 23.98 kB / 1.469 GB, free: 4.125 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/1.37, allocations: 0.6479 MB / 1.47 GB, free: 3.48 MB / 1.154 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.006029/1.376, allocations: 3.967 MB / 1.474 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/1.378, allocations: 484.8 kB / 1.474 GB, free: 14.79 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/1.378, allocations: 240.7 kB / 1.475 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002926/1.381, allocations: 1.803 MB / 1.476 GB, free: 12.56 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.381, allocations: 42.89 kB / 1.476 GB, free: 12.51 MB / 1.17 GB Notification: Performance of pre-optimization done (n=40): time 4.188e-06/1.381, allocations: 0 / 1.476 GB, free: 12.51 MB / 1.17 GB Notification: Performance of matching and sorting (n=40): time 0.002077/1.383, allocations: 0.7488 MB / 1.477 GB, free: 11.75 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.383, allocations: 55.41 kB / 1.477 GB, free: 11.69 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.386, allocations: 1.53 MB / 1.479 GB, free: 10.15 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/1.386, allocations: 33.7 kB / 1.479 GB, free: 10.11 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000659/1.386, allocations: 0.6735 MB / 1.479 GB, free: 9.43 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/1.387, allocations: 162.7 kB / 1.479 GB, free: 9.27 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/1.387, allocations: 250.5 kB / 1.48 GB, free: 9.02 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.387, allocations: 349.9 kB / 1.48 GB, free: 8.672 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/1.388, allocations: 424.9 kB / 1.48 GB, free: 8.25 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/1.389, allocations: 0.7021 MB / 1.481 GB, free: 7.445 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/1.391, allocations: 1.026 MB / 1.482 GB, free: 6.324 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.391, allocations: 0 / 1.482 GB, free: 6.324 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002684/1.394, allocations: 1.292 MB / 1.483 GB, free: 5.023 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.394, allocations: 8 kB / 1.483 GB, free: 5.016 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/1.394, allocations: 8 kB / 1.483 GB, free: 5.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/1.394, allocations: 15.94 kB / 1.483 GB, free: 4.992 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008005/1.395, allocations: 208.1 kB / 1.484 GB, free: 4.789 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/1.395, allocations: 15.94 kB / 1.484 GB, free: 4.773 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.396, allocations: 135.1 kB / 1.484 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/1.396, allocations: 48.05 kB / 1.484 GB, free: 4.594 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0014/1.397, allocations: 0.7598 MB / 1.485 GB, free: 3.824 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001063/1.398, allocations: 0.6785 MB / 1.485 GB, free: 3.043 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00169/1.4, allocations: 1.011 MB / 1.486 GB, free: 1.93 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/1.4, allocations: 8 kB / 1.486 GB, free: 1.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002469/1.403, allocations: 1.267 MB / 1.487 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.403, allocations: 11.98 kB / 1.487 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.403, allocations: 8 kB / 1.488 GB, free: 0.625 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.403, allocations: 12 kB / 1.488 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/1.403, allocations: 212.1 kB / 1.488 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.403, allocations: 19.88 kB / 1.488 GB, free: 396 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/1.404, allocations: 99.47 kB / 1.488 GB, free: 296 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/1.405, allocations: 51.98 kB / 1.488 GB, free: 244 kB / 1.17 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 (111): * Single equations (assignments): 109 * 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.0003425/1.405, allocations: 240 kB / 1.488 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/1.405, allocations: 139.1 kB / 1.488 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/1.407, allocations: 0.7245 MB / 1.489 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/1.407, allocations: 4 kB / 1.489 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.407, allocations: 0 / 1.489 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/1.409, allocations: 0.7587 MB / 1.49 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/1.412, allocations: 1.772 MB / 1.491 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.412, allocations: 0 / 1.491 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/1.413, allocations: 111.8 kB / 1.492 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.413, allocations: 0 / 1.492 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/1.413, allocations: 12 kB / 1.492 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/1.413, allocations: 7.984 kB / 1.492 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.413, allocations: 3.938 kB / 1.492 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/1.415, allocations: 1.043 MB / 1.493 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/1.416, allocations: 303.9 kB / 1.493 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.416, allocations: 12 kB / 1.493 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/1.417, allocations: 47.95 kB / 1.493 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/1.417, allocations: 35.84 kB / 1.493 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/1.417, allocations: 23.98 kB / 1.493 GB, free: 10.81 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001659/1.418, allocations: 1.023 MB / 1.494 GB, free: 9.793 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.9e-07/1.419, allocations: 0 / 1.494 GB, free: 9.793 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002253/1.421, allocations: 0.7447 MB / 1.495 GB, free: 9.047 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (pum.vol.dynBal.U,pum.motSpe.y,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 (47): * Single equations (assignments): 43 * 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.001287/1.422, allocations: 0.5117 MB / 1.495 GB, free: 8.531 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003056/1.425, allocations: 1.442 MB / 1.497 GB, free: 7.094 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.425, allocations: 1.125 kB / 1.497 GB, free: 7.094 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/1.426, allocations: 276.3 kB / 1.497 GB, free: 6.824 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/1.429, allocations: 0.6982 MB / 1.498 GB, free: 6.152 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/1.434, allocations: 2.659 MB / 1.5 GB, free: 3.438 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.435, allocations: 1.28 MB / 1.501 GB, free: 2.129 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/1.435, allocations: 131.4 kB / 1.502 GB, free: 2 MB / 1.186 GB Notification: Performance of SimCode: time 8.72e-07/1.435, allocations: 0 / 1.502 GB, free: 2 MB / 1.186 GB Notification: Performance of Templates: time 0.04391/1.479, allocations: 25.74 MB / 1.527 GB, free: 8.441 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.555078892037272]