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.00154/0.00154, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001562/0.001562, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.483/2.483, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.3 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03896/0.3784, allocations: 37.33 MB / 1.054 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.7214/1.1, allocations: 148.6 MB / 1.2 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/1.102, allocations: 53.31 kB / 1.2 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.007964/1.11, allocations: 4.024 MB / 1.204 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/1.116, allocations: 1.965 MB / 1.205 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/1.12, allocations: 1.427 MB / 1.207 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008572/1.128, allocations: 6.083 MB / 1.213 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/1.13, allocations: 1.111 MB / 1.214 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/1.134, allocations: 1.435 MB / 1.215 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/1.135, allocations: 0.9606 MB / 1.216 GB, free: 14.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/1.136, allocations: 116 kB / 1.216 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/1.138, allocations: 1.123 MB / 1.217 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005092/1.139, allocations: 498.4 kB / 1.218 GB, free: 12.85 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.14, allocations: 0.8589 MB / 1.219 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/1.143, allocations: 2.664 MB / 1.221 GB, free: 9.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.143, allocations: 0 / 1.221 GB, free: 9.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/1.143, allocations: 0 / 1.221 GB, free: 9.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.392e-05/1.143, allocations: 0 / 1.221 GB, free: 9.312 MB / 0.92 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.003499/1.147, allocations: 2.062 MB / 1.223 GB, free: 7.188 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.147, allocations: 12.88 kB / 1.223 GB, free: 7.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/1.149, allocations: 357.5 kB / 1.224 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/1.152, allocations: 2.091 MB / 1.226 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.089e-05/1.152, allocations: 69.98 kB / 1.226 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.152, allocations: 87.88 kB / 1.226 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/1.154, allocations: 0.8503 MB / 1.227 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/1.154, allocations: 0 / 1.227 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/1.154, allocations: 32 kB / 1.227 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/1.154, allocations: 30 kB / 1.227 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/1.156, allocations: 0.6635 MB / 1.227 GB, free: 2.918 MB / 0.92 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.005518/1.161, allocations: 3.879 MB / 1.231 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/1.162, allocations: 0.5026 MB / 1.232 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/1.163, allocations: 248.6 kB / 1.232 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002737/1.166, allocations: 1.814 MB / 1.234 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/1.166, allocations: 34.56 kB / 1.234 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/1.166, allocations: 4 kB / 1.234 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43): time 0.001983/1.168, allocations: 0.7429 MB / 1.234 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.168, allocations: 55.41 kB / 1.235 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/1.17, allocations: 1.527 MB / 1.236 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/1.17, allocations: 37.7 kB / 1.236 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/1.171, allocations: 0.6687 MB / 1.237 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/1.171, allocations: 161.7 kB / 1.237 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/1.171, allocations: 254.3 kB / 1.237 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.171, allocations: 357.9 kB / 1.237 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008099/1.172, allocations: 424.9 kB / 1.238 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.173, allocations: 0.7049 MB / 1.239 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/1.175, allocations: 1.035 MB / 1.24 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.175, allocations: 4 kB / 1.24 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002425/1.177, allocations: 1.298 MB / 1.241 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.177, allocations: 14.28 kB / 1.241 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.177, allocations: 8 kB / 1.241 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/1.177, allocations: 12 kB / 1.241 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/1.178, allocations: 227.6 kB / 1.241 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/1.178, allocations: 21.05 kB / 1.241 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009554/1.179, allocations: 135.2 kB / 1.241 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/1.179, allocations: 47.98 kB / 1.241 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/1.181, allocations: 0.752 MB / 1.242 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009801/1.182, allocations: 0.7027 MB / 1.243 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001549/1.183, allocations: 1.014 MB / 1.244 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/1.183, allocations: 7.984 kB / 1.244 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.00226/1.185, allocations: 1.27 MB / 1.245 GB, free: 104 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.185, allocations: 12.03 kB / 1.245 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.186, allocations: 8 kB / 1.245 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.186, allocations: 12 kB / 1.245 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/1.186, allocations: 219.7 kB / 1.245 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.186, allocations: 19.92 kB / 1.245 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/1.187, allocations: 108.3 kB / 1.245 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/1.187, allocations: 47.98 kB / 1.245 GB, free: 15.68 MB / 0.9512 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.0002881/1.188, allocations: 235.9 kB / 1.246 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/1.188, allocations: 142.1 kB / 1.246 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/1.19, allocations: 0.7358 MB / 1.246 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.19, allocations: 7.984 kB / 1.246 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.19, allocations: 0 / 1.246 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/1.191, allocations: 0.7509 MB / 1.247 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/1.194, allocations: 1.794 MB / 1.249 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.194, allocations: 0 / 1.249 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/1.195, allocations: 112 kB / 1.249 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/1.195, allocations: 4 kB / 1.249 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.195, allocations: 19.92 kB / 1.249 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.195, allocations: 4 kB / 1.249 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.195, allocations: 0 / 1.249 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/1.197, allocations: 1.059 MB / 1.25 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/1.198, allocations: 295.1 kB / 1.25 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.198, allocations: 19.92 kB / 1.25 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/1.198, allocations: 31.97 kB / 1.25 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/1.199, allocations: 35.95 kB / 1.25 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/1.199, allocations: 27.92 kB / 1.25 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001497/1.2, allocations: 1.024 MB / 1.251 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.2, allocations: 0 / 1.251 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002004/1.202, allocations: 0.737 MB / 1.252 GB, free: 8.473 MB / 0.9512 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.001191/1.203, allocations: 0.524 MB / 1.253 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003023/1.206, allocations: 1.497 MB / 1.254 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.206, allocations: 0 / 1.254 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006553/1.207, allocations: 281.6 kB / 1.254 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/1.21, allocations: 0.7189 MB / 1.255 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/1.214, allocations: 2.658 MB / 1.258 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/1.215, allocations: 1.288 MB / 1.259 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/1.216, allocations: 131.4 kB / 1.259 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of SimCode: time 8.62e-07/1.216, allocations: 0 / 1.259 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of Templates: time 0.04147/1.257, allocations: 25.98 MB / 1.284 GB, free: 7.57 MB / 0.9825 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 -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