Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_11_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.006935/0.006935, allocations: 99.23 kB / 15.73 MB, free: 6.004 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.001842/0.001842, allocations: 191.6 kB / 16.67 MB, free: 5.922 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.84 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2709, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.5709/0.8418, allocations: 37.31 MB / 1.257 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.168/1.01, allocations: 148.6 MB / 1.402 GB, free: 3.91 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/1.011, allocations: 54.06 kB / 1.402 GB, free: 3.891 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004129/1.016, allocations: 1.587 MB / 1.403 GB, free: 2.812 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005049/1.021, allocations: 2.075 MB / 1.405 GB, free: 1.18 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/1.024, allocations: 1.502 MB / 1.407 GB, free: 124 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008605/1.033, allocations: 6.195 MB / 1.413 GB, free: 12.85 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/1.034, allocations: 1.136 MB / 1.414 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/1.038, allocations: 1.469 MB / 1.415 GB, free: 11.22 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.039, allocations: 0.9826 MB / 1.416 GB, free: 10.62 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003006/1.04, allocations: 130.7 kB / 1.416 GB, free: 10.61 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/1.042, allocations: 1.132 MB / 1.418 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005783/1.043, allocations: 0.5026 MB / 1.418 GB, free: 9.68 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009917/1.044, allocations: 0.8631 MB / 1.419 GB, free: 9.09 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003511/1.047, allocations: 2.737 MB / 1.422 GB, free: 7.23 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.047, allocations: 2.906 kB / 1.422 GB, free: 7.23 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.433e-06/1.047, allocations: 0 / 1.422 GB, free: 7.23 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.236e-05/1.047, allocations: 0 / 1.422 GB, free: 7.23 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.003668/1.051, allocations: 2.144 MB / 1.424 GB, free: 5.055 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/1.051, allocations: 8.031 kB / 1.424 GB, free: 5.047 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/1.051, allocations: 126.5 kB / 1.424 GB, free: 4.914 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/1.053, allocations: 358.5 kB / 1.424 GB, free: 4.562 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/1.057, allocations: 2.198 MB / 1.426 GB, free: 2.316 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/1.057, allocations: 61.98 kB / 1.426 GB, free: 2.254 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/1.057, allocations: 84 kB / 1.426 GB, free: 2.172 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/1.059, allocations: 0.8464 MB / 1.427 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.059, allocations: 0 / 1.427 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/1.059, allocations: 32 kB / 1.427 GB, free: 1.262 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/1.059, allocations: 34 kB / 1.427 GB, free: 1.227 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/1.061, allocations: 0.6557 MB / 1.428 GB, free: 0.5703 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.005618/1.066, allocations: 3.866 MB / 1.432 GB, free: 12.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/1.068, allocations: 0.5109 MB / 1.432 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/1.068, allocations: 254.7 kB / 1.432 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002753/1.071, allocations: 1.814 MB / 1.434 GB, free: 9.719 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.071, allocations: 35.44 kB / 1.434 GB, free: 9.676 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/1.071, allocations: 3.938 kB / 1.434 GB, free: 9.672 MB / 1.123 GB Notification: Performance of matching and sorting (n=43): time 0.002002/1.073, allocations: 0.7311 MB / 1.435 GB, free: 8.934 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/1.073, allocations: 59.41 kB / 1.435 GB, free: 8.863 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/1.075, allocations: 1.538 MB / 1.437 GB, free: 7.316 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/1.075, allocations: 41.7 kB / 1.437 GB, free: 7.27 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/1.076, allocations: 0.6892 MB / 1.437 GB, free: 6.574 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/1.076, allocations: 166.6 kB / 1.437 GB, free: 6.41 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/1.077, allocations: 254.5 kB / 1.438 GB, free: 6.156 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.077, allocations: 353.9 kB / 1.438 GB, free: 5.805 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/1.078, allocations: 424.9 kB / 1.438 GB, free: 5.387 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.079, allocations: 0.6984 MB / 1.439 GB, free: 4.582 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/1.081, allocations: 1.031 MB / 1.44 GB, free: 3.457 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.081, allocations: 0 / 1.44 GB, free: 3.457 MB / 1.123 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002434/1.083, allocations: 1.307 MB / 1.441 GB, free: 2.141 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.083, allocations: 8 kB / 1.441 GB, free: 2.133 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.083, allocations: 15.92 kB / 1.441 GB, free: 2.117 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/1.083, allocations: 12.88 kB / 1.441 GB, free: 2.105 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/1.084, allocations: 232 kB / 1.442 GB, free: 1.879 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/1.084, allocations: 15.94 kB / 1.442 GB, free: 1.863 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009087/1.085, allocations: 135.1 kB / 1.442 GB, free: 1.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/1.085, allocations: 47.98 kB / 1.442 GB, free: 1.684 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/1.086, allocations: 0.7481 MB / 1.443 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00104/1.087, allocations: 0.7036 MB / 1.443 GB, free: 124 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001641/1.089, allocations: 1.019 MB / 1.444 GB, free: 15 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.571e-06/1.089, allocations: 4 kB / 1.444 GB, free: 15 MB / 1.139 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002243/1.091, allocations: 1.271 MB / 1.445 GB, free: 13.72 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.091, allocations: 14.17 kB / 1.445 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.091, allocations: 8 kB / 1.445 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.091, allocations: 12 kB / 1.446 GB, free: 13.69 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/1.092, allocations: 223.6 kB / 1.446 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/1.092, allocations: 16.2 kB / 1.446 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/1.093, allocations: 107.5 kB / 1.446 GB, free: 13.35 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/1.093, allocations: 41.12 kB / 1.446 GB, free: 13.31 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.0002351/1.093, allocations: 239.9 kB / 1.446 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.094, allocations: 147 kB / 1.446 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/1.095, allocations: 0.7369 MB / 1.447 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.095, allocations: 7.984 kB / 1.447 GB, free: 12.17 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.095, allocations: 0 / 1.447 GB, free: 12.17 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/1.097, allocations: 0.747 MB / 1.448 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/1.1, allocations: 1.79 MB / 1.449 GB, free: 9.496 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.1, allocations: 4 kB / 1.449 GB, free: 9.492 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/1.101, allocations: 104 kB / 1.45 GB, free: 9.391 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.101, allocations: 8 kB / 1.45 GB, free: 9.383 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/1.101, allocations: 19.92 kB / 1.45 GB, free: 9.363 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.101, allocations: 4 kB / 1.45 GB, free: 9.359 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.101, allocations: 4 kB / 1.45 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/1.103, allocations: 1.044 MB / 1.451 GB, free: 8.281 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/1.103, allocations: 308 kB / 1.451 GB, free: 7.961 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/1.103, allocations: 11.94 kB / 1.451 GB, free: 7.949 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/1.104, allocations: 51.84 kB / 1.451 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/1.104, allocations: 27.97 kB / 1.451 GB, free: 7.871 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/1.104, allocations: 23.97 kB / 1.451 GB, free: 7.848 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001479/1.106, allocations: 1.036 MB / 1.452 GB, free: 6.816 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.074e-06/1.106, allocations: 3.938 kB / 1.452 GB, free: 6.812 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001878/1.108, allocations: 0.7564 MB / 1.453 GB, free: 6.055 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.003481/1.111, allocations: 2.022 MB / 1.455 GB, free: 3.996 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002809/1.114, allocations: 1.438 MB / 1.456 GB, free: 2.559 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.114, allocations: 0 / 1.456 GB, free: 2.559 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/1.115, allocations: 284.9 kB / 1.456 GB, free: 2.281 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/1.117, allocations: 0.7077 MB / 1.457 GB, free: 1.594 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/1.133, allocations: 10.57 MB / 1.467 GB, free: 6.68 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009893/1.134, allocations: 1.295 MB / 1.469 GB, free: 5.355 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001366/1.136, allocations: 407.3 kB / 1.469 GB, free: 4.953 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008431/1.137, allocations: 0.5852 MB / 1.47 GB, free: 4.367 MB / 1.154 GB Notification: Performance of SimCode: time 5.51e-07/1.137, allocations: 4 kB / 1.47 GB, free: 4.363 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08039/1.217, allocations: 40.6 MB / 1.509 GB, free: 12.3 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.67, allocations: 11.7 kB / 1.509 GB, free: 12.29 MB / 1.201 GB (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.csv --start-time 0 --stop-time 180 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.072 Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.fmu > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches