Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamProperties.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.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",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.008281/0.008281, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.002225/0.002225, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 59.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7244/0.7263, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1562/0.8825, allocations: 136.1 MB / 1.353 GB, free: 9.395 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02942/0.912, allocations: 22.67 MB / 1.375 GB, free: 2.648 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.9122, allocations: 3.938 kB / 1.375 GB, free: 2.645 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.9125, allocations: 47.67 kB / 1.375 GB, free: 2.598 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.9129, allocations: 87.42 kB / 1.375 GB, free: 2.512 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.02342/0.9364, allocations: 6.95 MB / 1.382 GB, free: 11.57 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.9369, allocations: 247.9 kB / 1.382 GB, free: 11.33 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 6.622e-05/0.937, allocations: 9.562 kB / 1.382 GB, free: 11.32 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.9375, allocations: 151.4 kB / 1.383 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.9377, allocations: 91.59 kB / 1.383 GB, free: 11.09 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.9378, allocations: 12 kB / 1.383 GB, free: 11.07 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02521/0.963, allocations: 11.63 MB / 1.394 GB, free: 15.43 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.9632, allocations: 39.89 kB / 1.394 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.9634, allocations: 79.66 kB / 1.394 GB, free: 15.31 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.9797, allocations: 6.493 MB / 1.4 GB, free: 8.805 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.9798, allocations: 0 / 1.4 GB, free: 8.805 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9798, allocations: 0 / 1.4 GB, free: 8.805 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.9798, allocations: 3.938 kB / 1.4 GB, free: 8.801 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00381/0.9836, allocations: 1.246 MB / 1.402 GB, free: 7.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9837, allocations: 8.031 kB / 1.402 GB, free: 7.492 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.952e-05/0.9838, allocations: 54.73 kB / 1.402 GB, free: 7.43 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.9849, allocations: 80.77 kB / 1.402 GB, free: 7.352 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.9853, allocations: 224.1 kB / 1.402 GB, free: 7.094 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.9853, allocations: 15.94 kB / 1.402 GB, free: 7.078 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.9854, allocations: 16 kB / 1.402 GB, free: 7.062 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.9866, allocations: 456.5 kB / 1.402 GB, free: 6.598 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.9866, allocations: 0 / 1.402 GB, free: 6.598 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.9866, allocations: 12 kB / 1.402 GB, free: 6.586 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.9866, allocations: 4 kB / 1.402 GB, free: 6.582 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.9879, allocations: 0.5937 MB / 1.403 GB, free: 5.988 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.9891, allocations: 0.8862 MB / 1.404 GB, free: 5.016 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/0.99, allocations: 246.4 kB / 1.404 GB, free: 4.766 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.9901, allocations: 68.84 kB / 1.404 GB, free: 4.695 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09764/1.088, allocations: 35.44 MB / 1.439 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.088, allocations: 34.56 kB / 1.439 GB, free: 14.11 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/1.088, allocations: 0 / 1.439 GB, free: 14.11 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.00192/1.09, allocations: 415.8 kB / 1.439 GB, free: 13.7 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/1.09, allocations: 55.41 kB / 1.439 GB, free: 13.64 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/1.09, allocations: 143.5 kB / 1.439 GB, free: 13.49 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/1.09, allocations: 29.7 kB / 1.439 GB, free: 13.45 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/1.09, allocations: 116.5 kB / 1.44 GB, free: 13.34 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/1.09, allocations: 87.22 kB / 1.44 GB, free: 13.25 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.09, allocations: 77.67 kB / 1.44 GB, free: 13.17 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.091, allocations: 326.8 kB / 1.44 GB, free: 12.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/1.091, allocations: 83.89 kB / 1.44 GB, free: 12.76 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/1.091, allocations: 129.6 kB / 1.44 GB, free: 12.61 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/1.092, allocations: 220 kB / 1.44 GB, free: 12.38 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.092, allocations: 0 / 1.44 GB, free: 12.38 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008271/1.092, allocations: 301.3 kB / 1.441 GB, free: 12.08 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.092, allocations: 8 kB / 1.441 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.092, allocations: 0 / 1.441 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.092, allocations: 7.984 kB / 1.441 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/1.093, allocations: 83.88 kB / 1.441 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.093, allocations: 4 kB / 1.441 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/1.093, allocations: 23.78 kB / 1.441 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/1.093, allocations: 23.97 kB / 1.441 GB, free: 11.93 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001533/1.093, allocations: 133.9 kB / 1.441 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/1.093, allocations: 19.91 kB / 1.441 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/1.096, allocations: 2.342 MB / 1.443 GB, free: 9.418 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.096, allocations: 11.98 kB / 1.443 GB, free: 9.406 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.096, allocations: 0 / 1.443 GB, free: 9.406 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.096, allocations: 7.922 kB / 1.443 GB, free: 9.398 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/1.1, allocations: 3.427 MB / 1.447 GB, free: 5.859 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.1, allocations: 4 kB / 1.447 GB, free: 5.855 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/1.1, allocations: 51.95 kB / 1.447 GB, free: 5.805 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.1, allocations: 11.88 kB / 1.447 GB, free: 5.793 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/1.1, allocations: 8 kB / 1.447 GB, free: 5.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.1, allocations: 0 / 1.447 GB, free: 5.785 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.1, allocations: 0 / 1.447 GB, free: 5.785 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008874/1.101, allocations: 0.5506 MB / 1.447 GB, free: 5.219 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/1.101, allocations: 144.7 kB / 1.447 GB, free: 5.059 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/1.101, allocations: 7.938 kB / 1.447 GB, free: 5.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/1.102, allocations: 16 kB / 1.447 GB, free: 5.035 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/1.102, allocations: 15.97 kB / 1.448 GB, free: 5.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/1.102, allocations: 12 kB / 1.448 GB, free: 5.008 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.768e-05/1.102, allocations: 109.4 kB / 1.448 GB, free: 4.902 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.102, allocations: 0 / 1.448 GB, free: 4.902 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004472/1.106, allocations: 1.715 MB / 1.449 GB, free: 3.184 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009842/1.116, allocations: 2.942 MB / 1.452 GB, free: 216 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007775/1.117, allocations: 327.8 kB / 1.452 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.117, allocations: 0 / 1.452 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/1.117, allocations: 241.5 kB / 1.453 GB, free: 15.66 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/1.118, allocations: 72.19 kB / 1.453 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007316/1.125, allocations: 3.086 MB / 1.456 GB, free: 12.39 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/1.126, allocations: 0.7661 MB / 1.457 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006015/1.126, allocations: 409.1 kB / 1.457 GB, free: 11.19 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/1.126, allocations: 103.4 kB / 1.457 GB, free: 11.09 MB / 1.186 GB Notification: Performance of SimCode: time 8.72e-07/1.127, allocations: 0 / 1.457 GB, free: 11.09 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/1.255, allocations: 63.14 MB / 1.519 GB, free: 11.96 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.7, allocations: 8.312 kB / 1.519 GB, free: 11.96 MB / 1.248 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_SteamProperties.fmu > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches