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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_10_Buildings_Experimental_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.00897/0.00897, allocations: 99.89 kB / 15.73 MB, free: 6.012 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.002218/0.002218, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.257/2.257, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 3.783/3.783, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 59.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9794/0.982, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.04143/1.023, allocations: 37.33 MB / 1.203 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1796/1.203, allocations: 148.6 MB / 1.348 GB, free: 9.141 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/1.205, allocations: 51.69 kB / 1.348 GB, free: 9.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00439/1.21, allocations: 1.581 MB / 1.349 GB, free: 7.508 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005476/1.215, allocations: 2.067 MB / 1.351 GB, free: 5.434 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003595/1.219, allocations: 1.506 MB / 1.353 GB, free: 3.934 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009404/1.228, allocations: 6.185 MB / 1.359 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/1.23, allocations: 1.141 MB / 1.36 GB, free: 12.56 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/1.234, allocations: 1.475 MB / 1.361 GB, free: 11.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/1.235, allocations: 0.9883 MB / 1.362 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/1.235, allocations: 124 kB / 1.362 GB, free: 9.973 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/1.238, allocations: 1.127 MB / 1.364 GB, free: 8.844 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005651/1.238, allocations: 0.5062 MB / 1.364 GB, free: 8.336 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000989/1.239, allocations: 0.8589 MB / 1.365 GB, free: 7.473 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/1.244, allocations: 2.744 MB / 1.368 GB, free: 4.719 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.244, allocations: 4 kB / 1.368 GB, free: 4.715 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.422e-06/1.244, allocations: 0 / 1.368 GB, free: 4.715 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.15e-05/1.244, allocations: 0 / 1.368 GB, free: 4.715 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.003755/1.247, allocations: 2.138 MB / 1.37 GB, free: 2.508 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.247, allocations: 20.86 kB / 1.37 GB, free: 2.488 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/1.248, allocations: 122.5 kB / 1.37 GB, free: 2.359 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/1.249, allocations: 358.5 kB / 1.37 GB, free: 2.008 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003739/1.253, allocations: 2.201 MB / 1.372 GB, free: 15.76 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/1.253, allocations: 62 kB / 1.372 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/1.253, allocations: 83.92 kB / 1.372 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/1.255, allocations: 0.8465 MB / 1.373 GB, free: 14.74 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/1.255, allocations: 0 / 1.373 GB, free: 14.74 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/1.255, allocations: 32 kB / 1.373 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/1.255, allocations: 30 kB / 1.373 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/1.257, allocations: 0.6557 MB / 1.374 GB, free: 14.02 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.005694/1.262, allocations: 3.87 MB / 1.378 GB, free: 9.949 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/1.264, allocations: 0.4992 MB / 1.378 GB, free: 9.441 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/1.264, allocations: 236.7 kB / 1.378 GB, free: 9.207 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002824/1.267, allocations: 1.841 MB / 1.38 GB, free: 7.172 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/1.267, allocations: 38.56 kB / 1.38 GB, free: 7.125 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/1.267, allocations: 0 / 1.38 GB, free: 7.125 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.001908/1.269, allocations: 0.7322 MB / 1.381 GB, free: 6.387 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/1.269, allocations: 55.41 kB / 1.381 GB, free: 6.32 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/1.271, allocations: 1.542 MB / 1.383 GB, free: 4.77 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/1.271, allocations: 41.7 kB / 1.383 GB, free: 4.723 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006405/1.272, allocations: 0.6853 MB / 1.383 GB, free: 4.031 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/1.272, allocations: 166.6 kB / 1.383 GB, free: 3.867 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/1.273, allocations: 250.5 kB / 1.384 GB, free: 3.617 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.273, allocations: 357.9 kB / 1.384 GB, free: 3.262 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008174/1.274, allocations: 424.9 kB / 1.384 GB, free: 2.844 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/1.275, allocations: 0.6984 MB / 1.385 GB, free: 2.035 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/1.276, allocations: 1.035 MB / 1.386 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.276, allocations: 4 kB / 1.386 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002444/1.279, allocations: 1.299 MB / 1.387 GB, free: 15.59 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.279, allocations: 15.98 kB / 1.387 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.279, allocations: 4 kB / 1.387 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/1.279, allocations: 15.98 kB / 1.387 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008509/1.28, allocations: 232.1 kB / 1.388 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/1.28, allocations: 15.94 kB / 1.388 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/1.281, allocations: 131.1 kB / 1.388 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/1.281, allocations: 51.98 kB / 1.388 GB, free: 15.13 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001275/1.282, allocations: 0.752 MB / 1.389 GB, free: 14.38 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00101/1.283, allocations: 0.6908 MB / 1.389 GB, free: 13.58 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001569/1.285, allocations: 1.022 MB / 1.39 GB, free: 12.46 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/1.285, allocations: 0 / 1.39 GB, free: 12.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.00227/1.287, allocations: 1.282 MB / 1.392 GB, free: 11.17 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.287, allocations: 11.98 kB / 1.392 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.287, allocations: 8 kB / 1.392 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.287, allocations: 12 kB / 1.392 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/1.288, allocations: 223.6 kB / 1.392 GB, free: 10.92 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.288, allocations: 24.33 kB / 1.392 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/1.289, allocations: 100 kB / 1.392 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/1.289, allocations: 44 kB / 1.392 GB, free: 10.75 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.0002734/1.289, allocations: 232 kB / 1.392 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/1.289, allocations: 155 kB / 1.392 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/1.291, allocations: 0.7302 MB / 1.393 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/1.291, allocations: 11.98 kB / 1.393 GB, free: 9.625 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.291, allocations: 0 / 1.393 GB, free: 9.625 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/1.293, allocations: 0.7431 MB / 1.394 GB, free: 8.812 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/1.296, allocations: 1.794 MB / 1.395 GB, free: 6.953 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.296, allocations: 0 / 1.395 GB, free: 6.953 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/1.296, allocations: 108 kB / 1.396 GB, free: 6.848 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.296, allocations: 8 kB / 1.396 GB, free: 6.84 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/1.296, allocations: 19.92 kB / 1.396 GB, free: 6.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/1.296, allocations: 7.984 kB / 1.396 GB, free: 6.812 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.297, allocations: 3.938 kB / 1.396 GB, free: 6.809 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/1.299, allocations: 1.048 MB / 1.397 GB, free: 5.727 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/1.299, allocations: 303.9 kB / 1.397 GB, free: 5.41 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/1.299, allocations: 27.92 kB / 1.397 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/1.3, allocations: 31.97 kB / 1.397 GB, free: 5.352 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/1.3, allocations: 39.88 kB / 1.397 GB, free: 5.312 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/1.3, allocations: 23.98 kB / 1.397 GB, free: 5.289 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001533/1.302, allocations: 1.039 MB / 1.398 GB, free: 4.254 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.302, allocations: 3.938 kB / 1.398 GB, free: 4.25 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001907/1.303, allocations: 0.7486 MB / 1.399 GB, free: 3.5 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.003594/1.307, allocations: 2.025 MB / 1.401 GB, free: 1.441 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002875/1.31, allocations: 1.443 MB / 1.402 GB, free: 0 / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.31, allocations: 0 / 1.402 GB, free: 0 / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006329/1.311, allocations: 289.6 kB / 1.402 GB, free: 15.72 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.313, allocations: 0.692 MB / 1.403 GB, free: 15.05 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.33, allocations: 10.58 MB / 1.413 GB, free: 4.129 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.331, allocations: 1.291 MB / 1.415 GB, free: 2.809 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001396/1.332, allocations: 411.8 kB / 1.415 GB, free: 2.41 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008644/1.333, allocations: 0.5969 MB / 1.416 GB, free: 1.812 MB / 1.139 GB Notification: Performance of SimCode: time 6.91e-07/1.333, allocations: 0 / 1.416 GB, free: 1.812 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08826/1.422, allocations: 40.79 MB / 1.456 GB, free: 9.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.21/21.63, allocations: 21.88 kB / 1.456 GB, free: 9.48 MB / 1.186 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.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_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.fmu > 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.csv","/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