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.001275/0.001275, allocations: 106 kB / 16.41 MB, free: 6.406 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.001302/0.001302, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8705, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03576/0.9063, allocations: 37.32 MB / 1.245 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1901/1.096, allocations: 148.6 MB / 1.39 GB, free: 3.016 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/1.099, allocations: 51.69 kB / 1.39 GB, free: 2.965 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005496/1.105, allocations: 1.58 MB / 1.392 GB, free: 1.379 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006479/1.111, allocations: 2.068 MB / 1.394 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004249/1.115, allocations: 1.503 MB / 1.395 GB, free: 13.8 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.009615/1.125, allocations: 6.198 MB / 1.401 GB, free: 7.598 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/1.127, allocations: 1.129 MB / 1.402 GB, free: 6.438 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004241/1.132, allocations: 1.506 MB / 1.404 GB, free: 4.93 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/1.134, allocations: 0.9881 MB / 1.405 GB, free: 3.938 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005409/1.134, allocations: 124 kB / 1.405 GB, free: 3.816 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/1.138, allocations: 1.135 MB / 1.406 GB, free: 2.68 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008037/1.138, allocations: 0.5024 MB / 1.406 GB, free: 2.176 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/1.14, allocations: 0.8589 MB / 1.407 GB, free: 1.312 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00507/1.145, allocations: 2.726 MB / 1.41 GB, free: 14.58 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.145, allocations: 3.938 kB / 1.41 GB, free: 14.57 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.854e-06/1.145, allocations: 0 / 1.41 GB, free: 14.57 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.185e-05/1.145, allocations: 0 / 1.41 GB, free: 14.57 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.005125/1.15, allocations: 2.085 MB / 1.412 GB, free: 12.43 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.15, allocations: 8.031 kB / 1.412 GB, free: 12.42 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/1.152, allocations: 349.6 kB / 1.412 GB, free: 12.07 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004375/1.157, allocations: 2.181 MB / 1.414 GB, free: 9.84 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/1.157, allocations: 62 kB / 1.414 GB, free: 9.781 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/1.157, allocations: 80 kB / 1.414 GB, free: 9.703 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/1.159, allocations: 0.8541 MB / 1.415 GB, free: 8.812 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.159, allocations: 0 / 1.415 GB, free: 8.812 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/1.159, allocations: 28 kB / 1.415 GB, free: 8.785 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/1.159, allocations: 34 kB / 1.415 GB, free: 8.754 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/1.161, allocations: 0.6557 MB / 1.416 GB, free: 8.098 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.006308/1.167, allocations: 3.868 MB / 1.42 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.169, allocations: 0.5011 MB / 1.42 GB, free: 3.52 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/1.169, allocations: 242.3 kB / 1.421 GB, free: 3.281 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003068/1.172, allocations: 1.826 MB / 1.422 GB, free: 1.262 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.172, allocations: 42.56 kB / 1.422 GB, free: 1.211 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/1.172, allocations: 0 / 1.422 GB, free: 1.211 MB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.002056/1.175, allocations: 0.7264 MB / 1.423 GB, free: 488 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.175, allocations: 55.41 kB / 1.423 GB, free: 420 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/1.177, allocations: 1.542 MB / 1.425 GB, free: 14.86 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/1.177, allocations: 41.7 kB / 1.425 GB, free: 14.81 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/1.178, allocations: 0.6763 MB / 1.425 GB, free: 14.13 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/1.178, allocations: 165.7 kB / 1.425 GB, free: 13.96 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/1.179, allocations: 250.3 kB / 1.426 GB, free: 13.71 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.179, allocations: 357.9 kB / 1.426 GB, free: 13.36 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/1.179, allocations: 428.9 kB / 1.426 GB, free: 12.94 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.181, allocations: 0.6984 MB / 1.427 GB, free: 12.13 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/1.182, allocations: 1.027 MB / 1.428 GB, free: 11 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/1.182, allocations: 11.94 kB / 1.428 GB, free: 10.99 MB / 1.154 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002519/1.185, allocations: 1.29 MB / 1.429 GB, free: 9.695 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/1.185, allocations: 8 kB / 1.429 GB, free: 9.688 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.185, allocations: 4 kB / 1.429 GB, free: 9.684 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.185, allocations: 12 kB / 1.429 GB, free: 9.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008775/1.186, allocations: 236.1 kB / 1.43 GB, free: 9.441 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/1.186, allocations: 15.94 kB / 1.43 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.187, allocations: 126.9 kB / 1.43 GB, free: 9.301 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.187, allocations: 51.98 kB / 1.43 GB, free: 9.25 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001285/1.188, allocations: 0.752 MB / 1.431 GB, free: 8.496 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009749/1.189, allocations: 0.6905 MB / 1.431 GB, free: 7.691 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001489/1.191, allocations: 1.019 MB / 1.432 GB, free: 6.57 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/1.191, allocations: 4 kB / 1.432 GB, free: 6.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002446/1.193, allocations: 1.273 MB / 1.433 GB, free: 5.281 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.193, allocations: 8 kB / 1.434 GB, free: 5.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.193, allocations: 8 kB / 1.434 GB, free: 5.266 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.193, allocations: 12 kB / 1.434 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/1.194, allocations: 227.9 kB / 1.434 GB, free: 5.031 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/1.194, allocations: 19.94 kB / 1.434 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.195, allocations: 107.2 kB / 1.434 GB, free: 4.906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/1.195, allocations: 47.98 kB / 1.434 GB, free: 4.859 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.0002724/1.196, allocations: 232 kB / 1.434 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/1.196, allocations: 138.2 kB / 1.434 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/1.198, allocations: 0.7252 MB / 1.435 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/1.198, allocations: 8 kB / 1.435 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.198, allocations: 7.969 kB / 1.435 GB, free: 3.738 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/1.199, allocations: 0.7431 MB / 1.436 GB, free: 2.93 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/1.203, allocations: 1.79 MB / 1.437 GB, free: 1.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.203, allocations: 0 / 1.437 GB, free: 1.07 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/1.204, allocations: 112 kB / 1.438 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/1.204, allocations: 4 kB / 1.438 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/1.204, allocations: 19.92 kB / 1.438 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/1.204, allocations: 11.88 kB / 1.438 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.204, allocations: 0 / 1.438 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/1.206, allocations: 1.04 MB / 1.439 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006096/1.207, allocations: 299 kB / 1.439 GB, free: 15.54 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/1.207, allocations: 23.94 kB / 1.439 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/1.208, allocations: 32.11 kB / 1.439 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/1.208, allocations: 39.89 kB / 1.439 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/1.208, allocations: 19.98 kB / 1.439 GB, free: 15.43 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001884/1.21, allocations: 1.039 MB / 1.44 GB, free: 14.39 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.81e-07/1.21, allocations: 0 / 1.44 GB, free: 14.39 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002511/1.212, allocations: 0.7487 MB / 1.441 GB, free: 13.64 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.001487/1.214, allocations: 0.5146 MB / 1.441 GB, free: 13.13 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003025/1.217, allocations: 1.44 MB / 1.443 GB, free: 11.7 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.217, allocations: 0 / 1.443 GB, free: 11.7 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/1.217, allocations: 280.3 kB / 1.443 GB, free: 11.42 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/1.221, allocations: 0.6991 MB / 1.444 GB, free: 10.74 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/1.226, allocations: 2.618 MB / 1.446 GB, free: 8.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.227, allocations: 1.291 MB / 1.447 GB, free: 6.75 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/1.227, allocations: 127.4 kB / 1.448 GB, free: 6.625 MB / 1.17 GB Notification: Performance of SimCode: time 7.42e-07/1.227, allocations: 0 / 1.448 GB, free: 6.625 MB / 1.17 GB Notification: Performance of Templates: time 0.03838/1.266, allocations: 26.02 MB / 1.473 GB, free: 12.8 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/jenkins1/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