Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_9_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.007597/0.007596, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001615/0.001615, allocations: 194 kB / 16.67 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 70.7 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2611, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1406/0.4018, allocations: 136.1 MB / 1.22 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02691/0.4287, allocations: 22.33 MB / 1.242 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.4289, allocations: 0 / 1.242 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.4293, allocations: 51.69 kB / 1.242 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.4297, allocations: 99.34 kB / 1.242 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01912/0.4488, allocations: 6.687 MB / 1.249 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.4493, allocations: 251.9 kB / 1.249 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.4493, allocations: 13.5 kB / 1.249 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.4497, allocations: 147.4 kB / 1.249 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.4499, allocations: 83.72 kB / 1.249 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.4499, allocations: 8 kB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02033/0.4702, allocations: 10.97 MB / 1.26 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.91e-05/0.4704, allocations: 31.89 kB / 1.26 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.4705, allocations: 91.64 kB / 1.26 GB, free: 476 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.6291/1.1, allocations: 6.154 MB / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.1, allocations: 0 / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/1.1, allocations: 0 / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.984e-06/1.1, allocations: 2.062 kB / 1.266 GB, free: 12.75 MB / 1.014 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.006757/1.106, allocations: 1.224 MB / 1.267 GB, free: 11.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.107, allocations: 13.62 kB / 1.267 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/1.107, allocations: 53.06 kB / 1.267 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.108, allocations: 85.78 kB / 1.268 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/1.108, allocations: 227.8 kB / 1.268 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/1.108, allocations: 10.06 kB / 1.268 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/1.108, allocations: 21.27 kB / 1.268 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.109, allocations: 451 kB / 1.268 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.109, allocations: 0.9375 kB / 1.268 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/1.11, allocations: 14.41 kB / 1.268 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/1.11, allocations: 4.062 kB / 1.268 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/1.111, allocations: 0.5954 MB / 1.269 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/1.112, allocations: 0.8832 MB / 1.27 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/1.113, allocations: 253.8 kB / 1.27 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/1.113, allocations: 72.41 kB / 1.27 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09508/1.208, allocations: 35.43 MB / 1.305 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.208, allocations: 41.38 kB / 1.305 GB, free: 9.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/1.208, allocations: 0 / 1.305 GB, free: 9.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001697/1.21, allocations: 421.9 kB / 1.305 GB, free: 9.785 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/1.21, allocations: 56.91 kB / 1.305 GB, free: 9.723 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/1.21, allocations: 141.2 kB / 1.305 GB, free: 9.621 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/1.21, allocations: 31.73 kB / 1.305 GB, free: 9.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/1.21, allocations: 111 kB / 1.305 GB, free: 9.496 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/1.21, allocations: 94.3 kB / 1.305 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.21, allocations: 77.23 kB / 1.306 GB, free: 9.418 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/1.21, allocations: 327.4 kB / 1.306 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/1.211, allocations: 78.81 kB / 1.306 GB, free: 9.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/1.211, allocations: 131.4 kB / 1.306 GB, free: 9.055 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/1.211, allocations: 220.1 kB / 1.306 GB, free: 9.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.211, allocations: 6.812 kB / 1.306 GB, free: 9.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006531/1.212, allocations: 301.7 kB / 1.307 GB, free: 8.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.212, allocations: 7.375 kB / 1.307 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.212, allocations: 1.375 kB / 1.307 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.212, allocations: 3.953 kB / 1.307 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/1.212, allocations: 79.97 kB / 1.307 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/1.212, allocations: 2.75 kB / 1.307 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/1.212, allocations: 25.16 kB / 1.307 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/1.212, allocations: 30.27 kB / 1.307 GB, free: 8.938 MB / 1.029 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.0001239/1.213, allocations: 130.5 kB / 1.307 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/1.213, allocations: 20.19 kB / 1.307 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/1.215, allocations: 2.342 MB / 1.309 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.215, allocations: 13.83 kB / 1.309 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.215, allocations: 0 / 1.309 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.215, allocations: 0 / 1.309 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/1.217, allocations: 3.433 MB / 1.313 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.217, allocations: 0 / 1.313 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/1.217, allocations: 55.83 kB / 1.313 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.217, allocations: 9.719 kB / 1.313 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/1.218, allocations: 9.688 kB / 1.313 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.218, allocations: 0 / 1.313 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.218, allocations: 6.438 kB / 1.313 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/1.218, allocations: 0.5459 MB / 1.313 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/1.218, allocations: 142.3 kB / 1.313 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/1.218, allocations: 8.219 kB / 1.313 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/1.219, allocations: 14.88 kB / 1.313 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/1.219, allocations: 20.39 kB / 1.313 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/1.219, allocations: 11.84 kB / 1.313 GB, free: 7.852 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.61e-05/1.219, allocations: 110.4 kB / 1.313 GB, free: 7.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.51e-07/1.219, allocations: 0 / 1.313 GB, free: 7.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006816/1.226, allocations: 1.642 MB / 1.315 GB, free: 7.547 MB / 1.029 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.01286/1.238, allocations: 2.892 MB / 1.318 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006609/1.239, allocations: 333 kB / 1.318 GB, free: 6.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.239, allocations: 0 / 1.318 GB, free: 6.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/1.239, allocations: 244.5 kB / 1.318 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/1.24, allocations: 67.88 kB / 1.318 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/1.247, allocations: 3.079 MB / 1.321 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.248, allocations: 0.767 MB / 1.322 GB, free: 4.207 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000453/1.248, allocations: 407.1 kB / 1.323 GB, free: 4.184 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/1.248, allocations: 94.53 kB / 1.323 GB, free: 4.176 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/1.248, allocations: 0 / 1.323 GB, free: 4.176 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09544/1.344, allocations: 60.84 MB / 1.382 GB, free: 14.13 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.99, allocations: 11.94 kB / 1.382 GB, free: 14.12 MB / 1.076 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_SteamProperties.fmu > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches