Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Media.Examples.SteamProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_10_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.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001757/0.001757, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.91 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.6005, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1349/0.7354, allocations: 134 MB / 1.148 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02978/0.7652, allocations: 25.15 MB / 1.172 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.7654, allocations: 4 kB / 1.172 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.7658, allocations: 35.8 kB / 1.172 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.7661, allocations: 83.48 kB / 1.172 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01542/0.7816, allocations: 5.49 MB / 1.178 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.782, allocations: 303.8 kB / 1.178 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.782, allocations: 9.562 kB / 1.178 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.7823, allocations: 135.4 kB / 1.178 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.7825, allocations: 95.66 kB / 1.178 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.7826, allocations: 8 kB / 1.178 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02578/0.8083, allocations: 11.52 MB / 1.189 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.8085, allocations: 39.89 kB / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.8087, allocations: 79.64 kB / 1.19 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01775/0.8265, allocations: 6.515 MB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.8265, allocations: 3.984 kB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8266, allocations: 0 / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8266, allocations: 4 kB / 1.196 GB, free: 10.72 MB / 0.9512 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.004106/0.8307, allocations: 1.201 MB / 1.197 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.8308, allocations: 8.031 kB / 1.197 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.8308, allocations: 54.73 kB / 1.197 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.8326, allocations: 80.67 kB / 1.197 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.8329, allocations: 236.1 kB / 1.197 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.8329, allocations: 15.94 kB / 1.197 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.833, allocations: 16 kB / 1.197 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.8346, allocations: 448.5 kB / 1.198 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.8347, allocations: 0 / 1.198 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.8347, allocations: 8 kB / 1.198 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.8347, allocations: 7.984 kB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.8365, allocations: 0.593 MB / 1.198 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.8379, allocations: 0.8822 MB / 1.199 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.8391, allocations: 254.3 kB / 1.2 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.8393, allocations: 72.83 kB / 1.2 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08964/0.929, allocations: 35.04 MB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.9291, allocations: 38.56 kB / 1.234 GB, free: 484 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.244e-06/0.9291, allocations: 0 / 1.234 GB, free: 484 kB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001778/0.9308, allocations: 423.5 kB / 1.234 GB, free: 56 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.9309, allocations: 51.41 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.931, allocations: 147.6 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.9311, allocations: 29.7 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.9311, allocations: 104.4 kB / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.9312, allocations: 90.75 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.9314, allocations: 81.56 kB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.9315, allocations: 322.8 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.9317, allocations: 79.95 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.9319, allocations: 129.1 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.9324, allocations: 224.5 kB / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.9324, allocations: 4 kB / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008218/0.9332, allocations: 301.4 kB / 1.236 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.9333, allocations: 7.984 kB / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.9333, allocations: 0 / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9333, allocations: 4 kB / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.9336, allocations: 75.94 kB / 1.236 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.9336, allocations: 7.938 kB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.9338, allocations: 27.69 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.9339, allocations: 19.98 kB / 1.236 GB, free: 14.3 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.0001345/0.934, allocations: 130.3 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.9342, allocations: 23.83 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.9365, allocations: 2.346 MB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.9365, allocations: 15.97 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9365, allocations: 0 / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9365, allocations: 3.938 kB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.9396, allocations: 3.423 MB / 1.242 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.9396, allocations: 0 / 1.242 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.9399, allocations: 55.83 kB / 1.242 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.9399, allocations: 11.94 kB / 1.242 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.9399, allocations: 7.984 kB / 1.242 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9399, allocations: 4 kB / 1.242 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9399, allocations: 0 / 1.242 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007341/0.9407, allocations: 0.5468 MB / 1.242 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.9408, allocations: 144.5 kB / 1.242 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.9409, allocations: 7.938 kB / 1.242 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.9411, allocations: 19.98 kB / 1.243 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.9411, allocations: 11.98 kB / 1.243 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.9412, allocations: 15.98 kB / 1.243 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.808e-05/0.9412, allocations: 104.2 kB / 1.243 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9412, allocations: 0 / 1.243 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00419/0.9454, allocations: 1.691 MB / 1.244 GB, free: 5.582 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.009107/0.9546, allocations: 2.94 MB / 1.247 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.9552, allocations: 325.7 kB / 1.247 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9552, allocations: 0 / 1.247 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.9555, allocations: 241.4 kB / 1.248 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.956, allocations: 62.75 kB / 1.248 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3962/1.352, allocations: 3.142 MB / 1.251 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/1.352, allocations: 0.7662 MB / 1.252 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000644/1.353, allocations: 409 kB / 1.252 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/1.353, allocations: 100.8 kB / 1.252 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.353, allocations: 0 / 1.252 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5439/1.897, allocations: 63.02 MB / 1.314 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/1.897, allocations: 182.2 kB / 1.314 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.5/7.397, allocations: 0 / 1.314 GB, free: 184.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamProperties.fmu > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches