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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.008967/0.008967, allocations: 98.22 kB / 15.73 MB, free: 6.008 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.001955/0.001955, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.699/2.699, allocations: 469.4 MB / 0.7422 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.03 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.8012/1.105, allocations: 136.1 MB / 1.353 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02878/1.133, allocations: 22.68 MB / 1.375 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/1.134, allocations: 1.094 kB / 1.375 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003151/1.134, allocations: 51.48 kB / 1.375 GB, free: 10.33 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003788/1.134, allocations: 90.92 kB / 1.375 GB, free: 10.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.02297/1.157, allocations: 6.955 MB / 1.382 GB, free: 5.555 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005121/1.158, allocations: 253.9 kB / 1.382 GB, free: 5.414 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/1.158, allocations: 9.156 kB / 1.382 GB, free: 5.414 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/1.158, allocations: 149.9 kB / 1.382 GB, free: 5.328 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/1.159, allocations: 93.31 kB / 1.382 GB, free: 5.273 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/1.159, allocations: 8.125 kB / 1.382 GB, free: 5.273 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02752/1.186, allocations: 11.64 MB / 1.394 GB, free: 15.15 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/1.186, allocations: 41.08 kB / 1.394 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/1.187, allocations: 89.05 kB / 1.394 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01661/1.203, allocations: 6.488 MB / 1.4 GB, free: 10.93 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.203, allocations: 0 / 1.4 GB, free: 10.93 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/1.203, allocations: 0 / 1.4 GB, free: 10.93 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.203, allocations: 0 / 1.4 GB, free: 10.93 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003938/1.207, allocations: 1.24 MB / 1.401 GB, free: 10.01 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.207, allocations: 8.75 kB / 1.401 GB, free: 10.01 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/1.207, allocations: 54.67 kB / 1.401 GB, free: 9.953 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.208, allocations: 83.17 kB / 1.401 GB, free: 9.918 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/1.209, allocations: 227 kB / 1.402 GB, free: 9.672 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/1.209, allocations: 19.78 kB / 1.402 GB, free: 9.66 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/1.209, allocations: 12.31 kB / 1.402 GB, free: 9.656 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/1.21, allocations: 461.2 kB / 1.402 GB, free: 9.363 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.21, allocations: 0 / 1.402 GB, free: 9.363 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/1.21, allocations: 6.5 kB / 1.402 GB, free: 9.359 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.21, allocations: 9.375 kB / 1.402 GB, free: 9.355 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/1.211, allocations: 0.5916 MB / 1.403 GB, free: 9.07 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/1.213, allocations: 0.8835 MB / 1.404 GB, free: 8.211 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/1.213, allocations: 249.8 kB / 1.404 GB, free: 8.078 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/1.214, allocations: 71.08 kB / 1.404 GB, free: 8.043 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09282/1.306, allocations: 35.43 MB / 1.438 GB, free: 2.828 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.306, allocations: 42.5 kB / 1.438 GB, free: 2.777 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/1.306, allocations: 0 / 1.438 GB, free: 2.777 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.001961/1.308, allocations: 425.4 kB / 1.439 GB, free: 2.355 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/1.308, allocations: 51.41 kB / 1.439 GB, free: 2.293 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.309, allocations: 140 kB / 1.439 GB, free: 2.148 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.309, allocations: 29.7 kB / 1.439 GB, free: 2.113 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/1.309, allocations: 108.5 kB / 1.439 GB, free: 2.004 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/1.309, allocations: 95.2 kB / 1.439 GB, free: 1.91 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.309, allocations: 73.67 kB / 1.439 GB, free: 1.832 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.309, allocations: 326.8 kB / 1.44 GB, free: 1.504 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.309, allocations: 90.88 kB / 1.44 GB, free: 1.418 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/1.31, allocations: 137.5 kB / 1.44 GB, free: 1.266 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/1.31, allocations: 217 kB / 1.44 GB, free: 1.035 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.31, allocations: 3.938 kB / 1.44 GB, free: 1.031 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007862/1.311, allocations: 306.2 kB / 1.44 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.311, allocations: 4 kB / 1.44 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.311, allocations: 0 / 1.44 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.311, allocations: 4 kB / 1.44 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/1.311, allocations: 79.88 kB / 1.44 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.311, allocations: 8.156 kB / 1.44 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/1.311, allocations: 23.78 kB / 1.441 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/1.311, allocations: 27.97 kB / 1.441 GB, free: 0.582 MB / 1.123 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.0001281/1.312, allocations: 126.5 kB / 1.441 GB, free: 460 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/1.312, allocations: 19.91 kB / 1.441 GB, free: 440 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/1.314, allocations: 2.342 MB / 1.443 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.314, allocations: 11.98 kB / 1.443 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.314, allocations: 0 / 1.443 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.314, allocations: 15.86 kB / 1.443 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/1.317, allocations: 3.412 MB / 1.446 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.317, allocations: 3.984 kB / 1.446 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/1.318, allocations: 59.83 kB / 1.446 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/1.318, allocations: 0 / 1.446 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/1.318, allocations: 11.94 kB / 1.446 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.318, allocations: 0 / 1.446 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.318, allocations: 4.875 kB / 1.446 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/1.318, allocations: 0.5545 MB / 1.447 GB, free: 9.879 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/1.318, allocations: 140.7 kB / 1.447 GB, free: 9.723 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/1.319, allocations: 11.94 kB / 1.447 GB, free: 9.711 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/1.319, allocations: 8 kB / 1.447 GB, free: 9.703 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/1.319, allocations: 15.97 kB / 1.447 GB, free: 9.688 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/1.319, allocations: 16 kB / 1.447 GB, free: 9.672 MB / 1.139 GB Notification: Performance of sorting global known variables: time 7.135e-05/1.319, allocations: 109 kB / 1.447 GB, free: 9.566 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.319, allocations: 0 / 1.447 GB, free: 9.566 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004983/1.324, allocations: 1.711 MB / 1.449 GB, free: 7.852 MB / 1.139 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.01149/1.335, allocations: 2.945 MB / 1.452 GB, free: 4.879 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0007169/1.336, allocations: 332.3 kB / 1.452 GB, free: 4.555 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.336, allocations: 0 / 1.452 GB, free: 4.555 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/1.337, allocations: 233.5 kB / 1.452 GB, free: 4.328 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/1.337, allocations: 76.11 kB / 1.452 GB, free: 4.254 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/1.344, allocations: 3.087 MB / 1.455 GB, free: 1.059 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/1.344, allocations: 0.7661 MB / 1.456 GB, free: 272 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005245/1.345, allocations: 401.2 kB / 1.457 GB, free: 15.87 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.345, allocations: 103.4 kB / 1.457 GB, free: 15.77 MB / 1.154 GB Notification: Performance of SimCode: time 4.01e-07/1.345, allocations: 3.938 kB / 1.457 GB, free: 15.77 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09958/1.444, allocations: 63.15 MB / 1.518 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.4, allocations: 13.88 kB / 1.518 GB, free: 0.6328 MB / 1.201 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