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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007099/0.007099, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001675/0.001675, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.662/2.662, allocations: 469.4 MB / 0.7422 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 64.12 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2921, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.6271/0.9192, allocations: 37.31 MB / 1.256 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1709/1.09, allocations: 148.6 MB / 1.401 GB, free: 4.414 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/1.092, allocations: 49.47 kB / 1.401 GB, free: 4.398 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005069/1.097, allocations: 1.592 MB / 1.403 GB, free: 3.316 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006132/1.104, allocations: 2.15 MB / 1.405 GB, free: 1.641 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/1.108, allocations: 1.509 MB / 1.406 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009648/1.117, allocations: 6.205 MB / 1.413 GB, free: 13.3 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/1.119, allocations: 1.129 MB / 1.414 GB, free: 12.55 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/1.123, allocations: 1.498 MB / 1.415 GB, free: 11.66 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/1.125, allocations: 0.9987 MB / 1.416 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004318/1.125, allocations: 120.2 kB / 1.416 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/1.128, allocations: 1.125 MB / 1.417 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007326/1.129, allocations: 0.5134 MB / 1.418 GB, free: 10.11 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/1.131, allocations: 0.8583 MB / 1.419 GB, free: 9.523 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004556/1.135, allocations: 2.738 MB / 1.421 GB, free: 7.664 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.135, allocations: 0 / 1.421 GB, free: 7.664 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.583e-06/1.135, allocations: 0 / 1.421 GB, free: 7.664 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.684e-05/1.135, allocations: 0 / 1.421 GB, free: 7.664 MB / 1.107 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.004614/1.14, allocations: 2.147 MB / 1.423 GB, free: 5.531 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.14, allocations: 8.031 kB / 1.423 GB, free: 5.523 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/1.14, allocations: 118.5 kB / 1.424 GB, free: 5.398 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/1.142, allocations: 366.5 kB / 1.424 GB, free: 5.039 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/1.146, allocations: 2.19 MB / 1.426 GB, free: 2.801 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/1.146, allocations: 58 kB / 1.426 GB, free: 2.742 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.146, allocations: 91.98 kB / 1.426 GB, free: 2.652 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.148, allocations: 0.8463 MB / 1.427 GB, free: 1.773 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.148, allocations: 4 kB / 1.427 GB, free: 1.77 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/1.148, allocations: 31.94 kB / 1.427 GB, free: 1.738 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/1.148, allocations: 33.98 kB / 1.427 GB, free: 1.703 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/1.15, allocations: 0.6557 MB / 1.428 GB, free: 1.051 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.005569/1.155, allocations: 3.882 MB / 1.431 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/1.156, allocations: 0.501 MB / 1.432 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/1.157, allocations: 246.3 kB / 1.432 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00272/1.16, allocations: 1.818 MB / 1.434 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.16, allocations: 42.48 kB / 1.434 GB, free: 10.15 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/1.16, allocations: 0 / 1.434 GB, free: 10.15 MB / 1.123 GB Notification: Performance of matching and sorting (n=43): time 0.001917/1.162, allocations: 0.7389 MB / 1.435 GB, free: 9.402 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/1.162, allocations: 55.41 kB / 1.435 GB, free: 9.336 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/1.164, allocations: 1.538 MB / 1.436 GB, free: 7.789 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/1.164, allocations: 37.7 kB / 1.436 GB, free: 7.746 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/1.165, allocations: 0.6853 MB / 1.437 GB, free: 7.055 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/1.165, allocations: 174.6 kB / 1.437 GB, free: 6.883 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/1.165, allocations: 254.5 kB / 1.437 GB, free: 6.629 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.165, allocations: 357.9 kB / 1.438 GB, free: 6.273 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007595/1.166, allocations: 425 kB / 1.438 GB, free: 5.855 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009634/1.167, allocations: 0.7011 MB / 1.439 GB, free: 5.047 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/1.168, allocations: 1.027 MB / 1.44 GB, free: 3.926 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.168, allocations: 4 kB / 1.44 GB, free: 3.922 MB / 1.123 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00232/1.171, allocations: 1.299 MB / 1.441 GB, free: 2.613 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.171, allocations: 8 kB / 1.441 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.171, allocations: 8 kB / 1.441 GB, free: 2.598 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/1.171, allocations: 12 kB / 1.441 GB, free: 2.586 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000837/1.172, allocations: 231.8 kB / 1.441 GB, free: 2.359 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/1.172, allocations: 23.92 kB / 1.441 GB, free: 2.336 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.173, allocations: 135.1 kB / 1.441 GB, free: 2.203 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/1.173, allocations: 43.98 kB / 1.442 GB, free: 2.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001142/1.174, allocations: 0.752 MB / 1.442 GB, free: 1.406 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008783/1.175, allocations: 0.6944 MB / 1.443 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001414/1.176, allocations: 1.019 MB / 1.444 GB, free: 15.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/1.176, allocations: 4 kB / 1.444 GB, free: 15.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.00211/1.178, allocations: 1.271 MB / 1.445 GB, free: 14.2 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.179, allocations: 8.062 kB / 1.445 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.179, allocations: 12 kB / 1.445 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.179, allocations: 12 kB / 1.445 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007673/1.179, allocations: 223.7 kB / 1.445 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/1.179, allocations: 17.42 kB / 1.445 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/1.18, allocations: 107.5 kB / 1.446 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/1.18, allocations: 43.98 kB / 1.446 GB, free: 13.79 MB / 1.139 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.0002382/1.181, allocations: 235.9 kB / 1.446 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/1.181, allocations: 151 kB / 1.446 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/1.183, allocations: 0.7385 MB / 1.447 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.183, allocations: 8 kB / 1.447 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.183, allocations: 3.938 kB / 1.447 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/1.184, allocations: 0.7431 MB / 1.447 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/1.187, allocations: 1.798 MB / 1.449 GB, free: 9.965 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.187, allocations: 4 kB / 1.449 GB, free: 9.961 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/1.188, allocations: 103.9 kB / 1.449 GB, free: 9.859 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/1.188, allocations: 4 kB / 1.449 GB, free: 9.855 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/1.188, allocations: 23.92 kB / 1.449 GB, free: 9.832 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/1.188, allocations: 4.125 kB / 1.449 GB, free: 9.828 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.188, allocations: 4 kB / 1.449 GB, free: 9.824 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/1.19, allocations: 1.052 MB / 1.45 GB, free: 8.738 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/1.19, allocations: 300 kB / 1.451 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/1.191, allocations: 15.94 kB / 1.451 GB, free: 8.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/1.191, allocations: 47.86 kB / 1.451 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/1.192, allocations: 31.95 kB / 1.451 GB, free: 8.332 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/1.192, allocations: 19.98 kB / 1.451 GB, free: 8.312 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001585/1.193, allocations: 1.036 MB / 1.452 GB, free: 7.281 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.3e-07/1.193, allocations: 4 kB / 1.452 GB, free: 7.277 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002123/1.195, allocations: 0.7447 MB / 1.452 GB, free: 6.531 MB / 1.139 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.003413/1.199, allocations: 2.025 MB / 1.454 GB, free: 4.48 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002699/1.201, allocations: 1.439 MB / 1.456 GB, free: 3.043 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.201, allocations: 12 kB / 1.456 GB, free: 3.031 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005897/1.202, allocations: 271.9 kB / 1.456 GB, free: 2.766 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/1.205, allocations: 0.7154 MB / 1.457 GB, free: 2.07 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.22, allocations: 10.58 MB / 1.467 GB, free: 7.148 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/1.22, allocations: 1.295 MB / 1.468 GB, free: 5.824 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001317/1.222, allocations: 407.3 kB / 1.469 GB, free: 5.422 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/1.223, allocations: 0.5891 MB / 1.469 GB, free: 4.832 MB / 1.154 GB Notification: Performance of SimCode: time 8.22e-07/1.223, allocations: 3.938 kB / 1.469 GB, free: 4.828 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06528/1.288, allocations: 40.61 MB / 1.509 GB, free: 12.73 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.788/11.08, allocations: 18.23 kB / 1.509 GB, free: 12.72 MB / 1.201 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.072 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.csv","/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