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.0008095/0.0008095, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005159/0.005159, allocations: 171.8 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.348 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.393/2.393, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 12 kB / 0.8729 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6098, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1239/0.7338, allocations: 132.2 MB / 1.152 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02725/0.7611, allocations: 24.77 MB / 1.176 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.7613, allocations: 4 kB / 1.176 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.7615, allocations: 39.8 kB / 1.176 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.7618, allocations: 87.42 kB / 1.177 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01323/0.7751, allocations: 5.481 MB / 1.182 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.7754, allocations: 303.8 kB / 1.182 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.7755, allocations: 13.56 kB / 1.182 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.7758, allocations: 131.5 kB / 1.182 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.7759, allocations: 95.59 kB / 1.182 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.7759, allocations: 8 kB / 1.182 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01715/0.7931, allocations: 11.52 MB / 1.194 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.7932, allocations: 35.89 kB / 1.194 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.7933, allocations: 109.3 kB / 1.194 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.009873/0.8032, allocations: 6.487 MB / 1.2 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8032, allocations: 4 kB / 1.2 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8032, allocations: 0 / 1.2 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8032, allocations: 0 / 1.2 GB, free: 9.992 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.002937/0.8062, allocations: 1.158 MB / 1.201 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8062, allocations: 12.03 kB / 1.201 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.8063, allocations: 50.73 kB / 1.201 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.8073, allocations: 88.66 kB / 1.201 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.8075, allocations: 228 kB / 1.202 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.8075, allocations: 11.94 kB / 1.202 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.8075, allocations: 16 kB / 1.202 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.8086, allocations: 456.5 kB / 1.202 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8086, allocations: 3.938 kB / 1.202 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.8086, allocations: 12 kB / 1.202 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8086, allocations: 4 kB / 1.202 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.8097, allocations: 0.5969 MB / 1.203 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009598/0.8107, allocations: 0.8822 MB / 1.204 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.8115, allocations: 252.2 kB / 1.204 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.8116, allocations: 76.77 kB / 1.204 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08196/0.8936, allocations: 35.33 MB / 1.238 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.8936, allocations: 30.56 kB / 1.238 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 3.206e-06/0.8936, allocations: 0 / 1.238 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001569/0.8952, allocations: 427.4 kB / 1.239 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.8952, allocations: 55.41 kB / 1.239 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.8954, allocations: 142.7 kB / 1.239 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.8954, allocations: 37.64 kB / 1.239 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.8955, allocations: 112.3 kB / 1.239 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.8956, allocations: 82.75 kB / 1.239 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.8956, allocations: 25.72 kB / 1.239 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.8957, allocations: 322.8 kB / 1.24 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.8959, allocations: 83.94 kB / 1.24 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.8961, allocations: 141 kB / 1.24 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.8965, allocations: 212.3 kB / 1.24 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.8965, allocations: 4 kB / 1.24 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000669/0.8972, allocations: 297.2 kB / 1.24 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.8972, allocations: 8 kB / 1.24 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.8972, allocations: 0 / 1.24 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8972, allocations: 4 kB / 1.24 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.8975, allocations: 83.88 kB / 1.24 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.8975, allocations: 3.984 kB / 1.24 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.8977, allocations: 23.94 kB / 1.24 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.8977, allocations: 31.97 kB / 1.24 GB, free: 13.35 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.0001217/0.8978, allocations: 122.3 kB / 1.241 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.898, allocations: 19.81 kB / 1.241 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.9001, allocations: 2.35 MB / 1.243 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.9002, allocations: 7.984 kB / 1.243 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9002, allocations: 0 / 1.243 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.9002, allocations: 7.922 kB / 1.243 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.9031, allocations: 3.43 MB / 1.246 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.9031, allocations: 0 / 1.246 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.9034, allocations: 55.89 kB / 1.246 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.9034, allocations: 3.938 kB / 1.246 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.9034, allocations: 8 kB / 1.246 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.9034, allocations: 0 / 1.246 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.9034, allocations: 0 / 1.246 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.9041, allocations: 0.5469 MB / 1.247 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.9042, allocations: 148.4 kB / 1.247 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.9043, allocations: 11.94 kB / 1.247 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.9045, allocations: 12 kB / 1.247 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.9045, allocations: 15.97 kB / 1.247 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.9046, allocations: 23.92 kB / 1.247 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.9046, allocations: 104.5 kB / 1.247 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9046, allocations: 0 / 1.247 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003477/0.9081, allocations: 1.683 MB / 1.249 GB, free: 4.645 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.007847/0.916, allocations: 2.942 MB / 1.252 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.9165, allocations: 318.1 kB / 1.252 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9165, allocations: 3.938 kB / 1.252 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.9168, allocations: 245.4 kB / 1.252 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.9173, allocations: 62.44 kB / 1.252 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3974/1.315, allocations: 3.194 MB / 1.255 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/1.315, allocations: 0.7652 MB / 1.256 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005871/1.315, allocations: 400.5 kB / 1.257 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/1.316, allocations: 97.38 kB / 1.257 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.316, allocations: 0 / 1.257 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.79/2.106, allocations: 62.91 MB / 1.318 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/2.106, allocations: 187 kB / 1.318 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.829/7.935, allocations: 3.938 kB / 1.318 GB, free: 181.1 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