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.008226/0.008226, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001919/0.001919, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.493/2.493, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7014/0.7026, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03658/0.7392, allocations: 37.32 MB / 1.244 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.8918, allocations: 148.6 MB / 1.389 GB, free: 3.008 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.8934, allocations: 51.75 kB / 1.389 GB, free: 2.957 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.8976, allocations: 1.598 MB / 1.391 GB, free: 1.355 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.9026, allocations: 2.154 MB / 1.393 GB, free: 15.2 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.906, allocations: 1.512 MB / 1.394 GB, free: 13.69 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008261/0.9142, allocations: 6.197 MB / 1.4 GB, free: 7.48 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.916, allocations: 1.129 MB / 1.402 GB, free: 6.32 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.9191, allocations: 1.508 MB / 1.403 GB, free: 4.809 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.9206, allocations: 0.9881 MB / 1.404 GB, free: 3.816 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.9209, allocations: 120 kB / 1.404 GB, free: 3.699 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.9231, allocations: 1.135 MB / 1.405 GB, free: 2.562 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.9236, allocations: 0.5062 MB / 1.406 GB, free: 2.055 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.9248, allocations: 0.8667 MB / 1.407 GB, free: 1.184 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.9284, allocations: 2.718 MB / 1.409 GB, free: 14.46 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9285, allocations: 0 / 1.409 GB, free: 14.46 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.006e-06/0.9285, allocations: 3.984 kB / 1.409 GB, free: 14.45 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.748e-05/0.9285, allocations: 0 / 1.409 GB, free: 14.45 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.004003/0.9325, allocations: 2.081 MB / 1.411 GB, free: 12.31 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.9326, allocations: 12.03 kB / 1.411 GB, free: 12.3 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.9344, allocations: 357.6 kB / 1.412 GB, free: 11.95 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/0.9381, allocations: 2.173 MB / 1.414 GB, free: 9.719 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.9382, allocations: 58 kB / 1.414 GB, free: 9.664 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.9383, allocations: 83.98 kB / 1.414 GB, free: 9.582 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.9399, allocations: 0.8542 MB / 1.415 GB, free: 8.691 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.94, allocations: 3.938 kB / 1.415 GB, free: 8.688 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.94, allocations: 32 kB / 1.415 GB, free: 8.656 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.9401, allocations: 26 kB / 1.415 GB, free: 8.633 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.9416, allocations: 0.6674 MB / 1.415 GB, free: 7.965 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.005255/0.9469, allocations: 3.853 MB / 1.419 GB, free: 3.91 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.9481, allocations: 0.4987 MB / 1.42 GB, free: 3.402 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.9487, allocations: 245.9 kB / 1.42 GB, free: 3.16 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002567/0.9512, allocations: 1.826 MB / 1.422 GB, free: 1.141 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.9513, allocations: 38.56 kB / 1.422 GB, free: 1.094 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.9513, allocations: 0 / 1.422 GB, free: 1.094 MB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.001804/0.9531, allocations: 0.7264 MB / 1.422 GB, free: 368 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.9531, allocations: 59.34 kB / 1.423 GB, free: 296 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.9551, allocations: 1.546 MB / 1.424 GB, free: 14.73 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.9552, allocations: 37.7 kB / 1.424 GB, free: 14.69 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.9557, allocations: 0.6724 MB / 1.425 GB, free: 14.01 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.9558, allocations: 165.7 kB / 1.425 GB, free: 13.85 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/0.9562, allocations: 250.3 kB / 1.425 GB, free: 13.59 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9563, allocations: 365.8 kB / 1.425 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007547/0.9571, allocations: 421 kB / 1.426 GB, free: 12.82 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009517/0.958, allocations: 0.7023 MB / 1.427 GB, free: 12.01 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.9596, allocations: 1.031 MB / 1.428 GB, free: 10.88 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.9596, allocations: 4 kB / 1.428 GB, free: 10.87 MB / 1.154 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002144/0.9617, allocations: 1.287 MB / 1.429 GB, free: 9.582 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.9618, allocations: 13.91 kB / 1.429 GB, free: 9.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.9618, allocations: 8 kB / 1.429 GB, free: 9.562 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.9618, allocations: 12 kB / 1.429 GB, free: 9.551 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008751/0.9627, allocations: 231.6 kB / 1.429 GB, free: 9.324 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.9627, allocations: 15.98 kB / 1.429 GB, free: 9.309 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.9636, allocations: 126.9 kB / 1.429 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.9637, allocations: 47.98 kB / 1.429 GB, free: 9.137 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/0.9649, allocations: 0.7559 MB / 1.43 GB, free: 8.379 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000887/0.9658, allocations: 0.6905 MB / 1.431 GB, free: 7.574 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/0.9672, allocations: 1.019 MB / 1.432 GB, free: 6.453 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.102e-06/0.9672, allocations: 0 / 1.432 GB, free: 6.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002051/0.9693, allocations: 1.277 MB / 1.433 GB, free: 5.164 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9693, allocations: 8 kB / 1.433 GB, free: 5.156 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.9693, allocations: 8.406 kB / 1.433 GB, free: 5.148 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9693, allocations: 16 kB / 1.433 GB, free: 5.133 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.9701, allocations: 215.7 kB / 1.433 GB, free: 4.922 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.9702, allocations: 23.86 kB / 1.433 GB, free: 4.898 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008893/0.971, allocations: 107.2 kB / 1.433 GB, free: 4.793 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.9711, allocations: 47.98 kB / 1.433 GB, free: 4.746 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.0002174/0.9714, allocations: 232 kB / 1.434 GB, free: 4.512 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.9716, allocations: 142.2 kB / 1.434 GB, free: 4.371 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.9733, allocations: 0.7291 MB / 1.434 GB, free: 3.633 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.9733, allocations: 12 kB / 1.434 GB, free: 3.621 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9733, allocations: 0 / 1.434 GB, free: 3.621 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/0.9745, allocations: 0.747 MB / 1.435 GB, free: 2.809 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.9774, allocations: 1.782 MB / 1.437 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9774, allocations: 4.031 kB / 1.437 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/0.978, allocations: 111.8 kB / 1.437 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.978, allocations: 4 kB / 1.437 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.978, allocations: 19.92 kB / 1.437 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.9781, allocations: 4 kB / 1.437 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9781, allocations: 0 / 1.437 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.98, allocations: 1.043 MB / 1.438 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.9805, allocations: 303 kB / 1.438 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.9806, allocations: 15.94 kB / 1.438 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.9812, allocations: 40.08 kB / 1.438 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.9813, allocations: 35.89 kB / 1.438 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.9814, allocations: 27.98 kB / 1.438 GB, free: 15.31 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001368/0.9828, allocations: 1.036 MB / 1.439 GB, free: 14.28 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9828, allocations: 0 / 1.439 GB, free: 14.28 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001851/0.9846, allocations: 0.7409 MB / 1.44 GB, free: 13.54 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.001099/0.9857, allocations: 0.5172 MB / 1.441 GB, free: 13.02 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002709/0.9885, allocations: 1.439 MB / 1.442 GB, free: 11.58 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9885, allocations: 0 / 1.442 GB, free: 11.58 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.9891, allocations: 285.5 kB / 1.442 GB, free: 11.3 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.9917, allocations: 0.7075 MB / 1.443 GB, free: 10.62 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.9956, allocations: 2.532 MB / 1.446 GB, free: 8.039 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/0.9964, allocations: 1.287 MB / 1.447 GB, free: 6.723 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001264/0.9977, allocations: 399.3 kB / 1.447 GB, free: 6.328 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.998, allocations: 127.4 kB / 1.447 GB, free: 6.203 MB / 1.17 GB Notification: Performance of SimCode: time 5.41e-07/0.998, allocations: 0 / 1.447 GB, free: 6.203 MB / 1.17 GB Notification: Performance of Templates: time 0.0454/1.043, allocations: 29.09 MB / 1.476 GB, free: 9.488 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/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