Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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: "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_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.001117/0.001117, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 195.9 kB / 16.53 MB, free: 6.672 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.819/2.819, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 66.23 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3326, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.149/0.4816, allocations: 136.1 MB / 1.197 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02901/0.5107, allocations: 22.67 MB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.5109, allocations: 0 / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.5112, allocations: 43.67 kB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.5117, allocations: 91.38 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01991/0.5316, allocations: 6.966 MB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.5321, allocations: 243.9 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.86e-05/0.5322, allocations: 13.56 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.5326, allocations: 143.4 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.5328, allocations: 91.66 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.5329, allocations: 8 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03019/0.5631, allocations: 11.34 MB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.5633, allocations: 31.89 kB / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.5634, allocations: 83.66 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01741/0.5809, allocations: 6.488 MB / 1.244 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5809, allocations: 0 / 1.244 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5809, allocations: 0 / 1.244 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.5809, allocations: 0 / 1.244 GB, free: 5.652 MB / 0.9981 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.003952/0.5849, allocations: 1.203 MB / 1.245 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.585, allocations: 16.02 kB / 1.245 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.411e-05/0.585, allocations: 46.75 kB / 1.245 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.5863, allocations: 88.66 kB / 1.245 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.5866, allocations: 240 kB / 1.245 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.5867, allocations: 15.94 kB / 1.245 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.5867, allocations: 12 kB / 1.245 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.588, allocations: 456.3 kB / 1.246 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.588, allocations: 0 / 1.246 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.588, allocations: 4 kB / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.5881, allocations: 4 kB / 1.246 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.5894, allocations: 0.6049 MB / 1.246 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.5905, allocations: 0.8706 MB / 1.247 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009066/0.5915, allocations: 258.1 kB / 1.247 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.5916, allocations: 78.58 kB / 1.247 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6393/1.231, allocations: 35.02 MB / 1.282 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.231, allocations: 37.12 kB / 1.282 GB, free: 166 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.244e-06/1.231, allocations: 4 kB / 1.282 GB, free: 166 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001733/1.233, allocations: 419.4 kB / 1.282 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/1.233, allocations: 62.17 kB / 1.282 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.233, allocations: 140.1 kB / 1.282 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/1.233, allocations: 30.33 kB / 1.282 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/1.233, allocations: 111 kB / 1.282 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/1.233, allocations: 80.72 kB / 1.282 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.233, allocations: 81.94 kB / 1.283 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/1.233, allocations: 330.1 kB / 1.283 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/1.233, allocations: 82.83 kB / 1.283 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/1.234, allocations: 131.7 kB / 1.283 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/1.234, allocations: 222.6 kB / 1.283 GB, free: 165 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.234, allocations: 0 / 1.283 GB, free: 165 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001236/1.236, allocations: 300.7 kB / 1.284 GB, free: 165 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.236, allocations: 7 kB / 1.284 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.236, allocations: 1.094 kB / 1.284 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.236, allocations: 7.422 kB / 1.284 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/1.236, allocations: 80.19 kB / 1.284 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.236, allocations: 5.875 kB / 1.284 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.237, allocations: 23.64 kB / 1.284 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/1.237, allocations: 25.14 kB / 1.284 GB, free: 164.9 MB / 0.9981 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.0001829/1.237, allocations: 133 kB / 1.284 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/1.237, allocations: 16.5 kB / 1.284 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/1.241, allocations: 2.343 MB / 1.286 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.241, allocations: 12.11 kB / 1.286 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.241, allocations: 12.78 kB / 1.286 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.241, allocations: 0 / 1.286 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004729/1.245, allocations: 3.418 MB / 1.289 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.245, allocations: 0 / 1.289 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/1.246, allocations: 61.72 kB / 1.29 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/1.246, allocations: 3.078 kB / 1.29 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/1.246, allocations: 5.875 kB / 1.29 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.246, allocations: 1.031 kB / 1.29 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.246, allocations: 1.312 kB / 1.29 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.247, allocations: 0.5548 MB / 1.29 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/1.247, allocations: 143.5 kB / 1.29 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/1.247, allocations: 5.094 kB / 1.29 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/1.248, allocations: 14.45 kB / 1.29 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/1.248, allocations: 21.78 kB / 1.29 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/1.248, allocations: 7.875 kB / 1.29 GB, free: 163 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.679e-05/1.248, allocations: 108.6 kB / 1.29 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.248, allocations: 1.125 kB / 1.29 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006566/1.255, allocations: 1.691 MB / 1.292 GB, free: 162.8 MB / 0.9981 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.01446/1.269, allocations: 2.932 MB / 1.295 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00123/1.27, allocations: 333.3 kB / 1.295 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.27, allocations: 3.938 kB / 1.295 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/1.271, allocations: 241.7 kB / 1.295 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/1.272, allocations: 65.66 kB / 1.296 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008832/1.281, allocations: 3.049 MB / 1.298 GB, free: 159 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/1.281, allocations: 0.7682 MB / 1.299 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007775/1.282, allocations: 403.9 kB / 1.3 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/1.282, allocations: 102.9 kB / 1.3 GB, free: 158 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.282, allocations: 0 / 1.3 GB, free: 158 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09373/1.376, allocations: 63.3 MB / 1.362 GB, free: 96.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/13.29, allocations: 8.078 kB / 1.362 GB, free: 96.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches