Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.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_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001553/0.001559, allocations: 106.9 kB / 16.41 MB, free: 6.5 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.001449/0.001448, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7836, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.04522/0.8289, allocations: 37.34 MB / 1.204 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1863/1.015, allocations: 148.6 MB / 1.349 GB, free: 9.195 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/1.017, allocations: 59.69 kB / 1.349 GB, free: 9.137 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005161/1.023, allocations: 1.608 MB / 1.351 GB, free: 7.527 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006396/1.029, allocations: 2.144 MB / 1.353 GB, free: 5.375 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/1.033, allocations: 1.511 MB / 1.354 GB, free: 3.871 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01023/1.044, allocations: 6.205 MB / 1.36 GB, free: 13.65 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/1.046, allocations: 1.141 MB / 1.361 GB, free: 12.48 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004181/1.05, allocations: 1.502 MB / 1.363 GB, free: 10.97 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/1.052, allocations: 0.9844 MB / 1.364 GB, free: 9.984 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004335/1.053, allocations: 124 kB / 1.364 GB, free: 9.863 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/1.056, allocations: 1.131 MB / 1.365 GB, free: 8.73 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00078/1.056, allocations: 0.5023 MB / 1.365 GB, free: 8.227 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001638/1.058, allocations: 0.8705 MB / 1.366 GB, free: 7.352 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005582/1.064, allocations: 2.744 MB / 1.369 GB, free: 4.598 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.064, allocations: 0 / 1.369 GB, free: 4.598 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.445e-06/1.064, allocations: 0 / 1.369 GB, free: 4.598 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.518e-05/1.064, allocations: 4 kB / 1.369 GB, free: 4.594 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.005548/1.069, allocations: 2.146 MB / 1.371 GB, free: 2.379 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.069, allocations: 12.88 kB / 1.371 GB, free: 2.367 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.071, allocations: 358.6 kB / 1.371 GB, free: 2.016 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/1.076, allocations: 2.198 MB / 1.374 GB, free: 15.77 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/1.076, allocations: 58 kB / 1.374 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/1.077, allocations: 76 kB / 1.374 GB, free: 15.64 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/1.079, allocations: 0.8542 MB / 1.374 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.079, allocations: 4 kB / 1.374 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/1.079, allocations: 32 kB / 1.375 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/1.079, allocations: 29.94 kB / 1.375 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/1.081, allocations: 0.6557 MB / 1.375 GB, free: 14.03 MB / 1.107 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.006813/1.087, allocations: 3.87 MB / 1.379 GB, free: 9.957 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.089, allocations: 0.5024 MB / 1.379 GB, free: 9.449 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/1.089, allocations: 240.7 kB / 1.38 GB, free: 9.211 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003346/1.093, allocations: 1.833 MB / 1.381 GB, free: 7.184 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.093, allocations: 38.56 kB / 1.382 GB, free: 7.137 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 1.943e-06/1.093, allocations: 4 kB / 1.382 GB, free: 7.133 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.002203/1.095, allocations: 0.7283 MB / 1.382 GB, free: 6.398 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.095, allocations: 55.41 kB / 1.382 GB, free: 6.332 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/1.098, allocations: 1.55 MB / 1.384 GB, free: 4.773 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.76e-05/1.098, allocations: 37.7 kB / 1.384 GB, free: 4.73 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007772/1.099, allocations: 0.6892 MB / 1.385 GB, free: 4.035 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/1.099, allocations: 158.6 kB / 1.385 GB, free: 3.879 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004606/1.1, allocations: 254.5 kB / 1.385 GB, free: 3.625 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000193/1.1, allocations: 357.9 kB / 1.385 GB, free: 3.27 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009453/1.101, allocations: 421 kB / 1.386 GB, free: 2.855 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.102, allocations: 0.7062 MB / 1.386 GB, free: 2.039 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.104, allocations: 1.031 MB / 1.387 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.104, allocations: 0 / 1.387 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002855/1.107, allocations: 1.299 MB / 1.389 GB, free: 15.6 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.107, allocations: 8 kB / 1.389 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/1.107, allocations: 8 kB / 1.389 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/1.107, allocations: 12.41 kB / 1.389 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009239/1.108, allocations: 231.7 kB / 1.389 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.807e-05/1.108, allocations: 15.94 kB / 1.389 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.109, allocations: 139.1 kB / 1.389 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.109, allocations: 47.98 kB / 1.389 GB, free: 15.15 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001488/1.111, allocations: 0.752 MB / 1.39 GB, free: 14.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/1.112, allocations: 0.6947 MB / 1.39 GB, free: 13.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001781/1.114, allocations: 1.018 MB / 1.391 GB, free: 12.47 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.007e-06/1.114, allocations: 4 kB / 1.391 GB, free: 12.47 MB / 1.123 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.00264/1.116, allocations: 1.274 MB / 1.393 GB, free: 11.19 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.116, allocations: 8 kB / 1.393 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.116, allocations: 12 kB / 1.393 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.116, allocations: 15.94 kB / 1.393 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/1.117, allocations: 232 kB / 1.393 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.881e-05/1.117, allocations: 15.94 kB / 1.393 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/1.119, allocations: 104 kB / 1.393 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.119, allocations: 43.98 kB / 1.393 GB, free: 10.77 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.0003497/1.119, allocations: 240 kB / 1.393 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/1.12, allocations: 143 kB / 1.393 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/1.122, allocations: 0.7355 MB / 1.394 GB, free: 9.641 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.122, allocations: 4 kB / 1.394 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.122, allocations: 3.984 kB / 1.394 GB, free: 9.633 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/1.123, allocations: 0.7509 MB / 1.395 GB, free: 8.82 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/1.127, allocations: 1.786 MB / 1.397 GB, free: 6.961 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.127, allocations: 0 / 1.397 GB, free: 6.961 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/1.128, allocations: 115.9 kB / 1.397 GB, free: 6.848 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/1.128, allocations: 4 kB / 1.397 GB, free: 6.844 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/1.128, allocations: 23.92 kB / 1.397 GB, free: 6.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.128, allocations: 4 kB / 1.397 GB, free: 6.816 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.128, allocations: 4 kB / 1.397 GB, free: 6.812 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/1.131, allocations: 1.048 MB / 1.398 GB, free: 5.727 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/1.131, allocations: 307.9 kB / 1.398 GB, free: 5.406 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/1.132, allocations: 15.94 kB / 1.398 GB, free: 5.391 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/1.132, allocations: 39.95 kB / 1.398 GB, free: 5.352 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/1.132, allocations: 31.95 kB / 1.398 GB, free: 5.32 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/1.133, allocations: 23.98 kB / 1.398 GB, free: 5.297 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001951/1.134, allocations: 1.036 MB / 1.399 GB, free: 4.266 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.01e-07/1.134, allocations: 0 / 1.399 GB, free: 4.266 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002368/1.137, allocations: 0.7525 MB / 1.4 GB, free: 3.512 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.00139/1.138, allocations: 0.5303 MB / 1.401 GB, free: 2.984 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003177/1.141, allocations: 1.447 MB / 1.402 GB, free: 1.547 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.141, allocations: 0 / 1.402 GB, free: 1.547 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007238/1.142, allocations: 277.8 kB / 1.402 GB, free: 1.277 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/1.145, allocations: 0.7017 MB / 1.403 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/1.15, allocations: 2.603 MB / 1.405 GB, free: 13.95 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.152, allocations: 1.291 MB / 1.407 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001564/1.153, allocations: 398.5 kB / 1.407 GB, free: 12.23 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/1.153, allocations: 123.4 kB / 1.407 GB, free: 12.12 MB / 1.139 GB Notification: Performance of SimCode: time 7.42e-07/1.154, allocations: 0 / 1.407 GB, free: 12.12 MB / 1.139 GB Notification: Performance of Templates: time 0.05363/1.207, allocations: 29.36 MB / 1.436 GB, free: 15.11 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches