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.007824/0.007824, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002122/0.002122, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 1.054 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8825/0.8838, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1502/1.034, allocations: 136.1 MB / 1.34 GB, free: 4.906 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02966/1.064, allocations: 22.68 MB / 1.362 GB, free: 14.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/1.064, allocations: 0 / 1.362 GB, free: 14.15 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003536/1.064, allocations: 51.67 kB / 1.362 GB, free: 14.1 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.000407/1.065, allocations: 99.36 kB / 1.362 GB, free: 14 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.02235/1.087, allocations: 6.957 MB / 1.369 GB, free: 7.055 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00044/1.088, allocations: 247.9 kB / 1.37 GB, free: 6.812 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 5.972e-05/1.088, allocations: 13.56 kB / 1.37 GB, free: 6.801 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/1.088, allocations: 147.4 kB / 1.37 GB, free: 6.656 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/1.088, allocations: 87.66 kB / 1.37 GB, free: 6.57 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/1.088, allocations: 8 kB / 1.37 GB, free: 6.562 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02136/1.11, allocations: 11.64 MB / 1.381 GB, free: 10.91 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/1.11, allocations: 31.89 kB / 1.381 GB, free: 10.88 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/1.11, allocations: 87.64 kB / 1.381 GB, free: 10.79 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/1.125, allocations: 6.476 MB / 1.388 GB, free: 4.301 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.125, allocations: 4 kB / 1.388 GB, free: 4.297 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.953e-06/1.125, allocations: 0 / 1.388 GB, free: 4.297 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.345e-06/1.125, allocations: 4 kB / 1.388 GB, free: 4.293 MB / 1.107 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.00378/1.129, allocations: 1.197 MB / 1.389 GB, free: 3.047 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.129, allocations: 12.03 kB / 1.389 GB, free: 3.035 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/1.129, allocations: 46.73 kB / 1.389 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/1.13, allocations: 84.67 kB / 1.389 GB, free: 2.898 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/1.131, allocations: 236 kB / 1.389 GB, free: 2.629 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/1.131, allocations: 19.94 kB / 1.389 GB, free: 2.609 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/1.131, allocations: 16 kB / 1.389 GB, free: 2.594 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.132, allocations: 454 kB / 1.39 GB, free: 2.133 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.132, allocations: 0 / 1.39 GB, free: 2.133 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/1.132, allocations: 7.938 kB / 1.39 GB, free: 2.125 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/1.132, allocations: 7.938 kB / 1.39 GB, free: 2.117 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/1.133, allocations: 0.597 MB / 1.39 GB, free: 1.52 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.135, allocations: 0.8822 MB / 1.391 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/1.136, allocations: 248.4 kB / 1.391 GB, free: 308 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/1.136, allocations: 80.81 kB / 1.391 GB, free: 224 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08251/1.218, allocations: 35.41 MB / 1.426 GB, free: 9.719 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/1.218, allocations: 39.22 kB / 1.426 GB, free: 9.672 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/1.218, allocations: 0 / 1.426 GB, free: 9.672 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.001825/1.22, allocations: 429.8 kB / 1.426 GB, free: 9.246 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.22, allocations: 55.41 kB / 1.426 GB, free: 9.18 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.22, allocations: 140 kB / 1.427 GB, free: 9.035 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/1.22, allocations: 37.7 kB / 1.427 GB, free: 8.992 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/1.22, allocations: 112.3 kB / 1.427 GB, free: 8.879 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.107e-05/1.221, allocations: 86.67 kB / 1.427 GB, free: 8.793 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/1.221, allocations: 77.67 kB / 1.427 GB, free: 8.711 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.221, allocations: 326.8 kB / 1.427 GB, free: 8.383 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/1.221, allocations: 79.94 kB / 1.427 GB, free: 8.305 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/1.221, allocations: 130.3 kB / 1.427 GB, free: 8.16 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/1.222, allocations: 220.3 kB / 1.428 GB, free: 7.93 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.222, allocations: 0 / 1.428 GB, free: 7.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008232/1.223, allocations: 301.2 kB / 1.428 GB, free: 7.629 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.223, allocations: 4 kB / 1.428 GB, free: 7.625 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.223, allocations: 7.984 kB / 1.428 GB, free: 7.617 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.223, allocations: 0 / 1.428 GB, free: 7.617 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/1.223, allocations: 83.88 kB / 1.428 GB, free: 7.535 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.223, allocations: 0 / 1.428 GB, free: 7.535 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/1.223, allocations: 23.78 kB / 1.428 GB, free: 7.512 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/1.223, allocations: 27.97 kB / 1.428 GB, free: 7.484 MB / 1.154 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.0001449/1.223, allocations: 132.6 kB / 1.428 GB, free: 7.348 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/1.224, allocations: 15.81 kB / 1.428 GB, free: 7.332 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/1.226, allocations: 2.342 MB / 1.43 GB, free: 4.977 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.226, allocations: 11.98 kB / 1.43 GB, free: 4.965 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.226, allocations: 0 / 1.43 GB, free: 4.965 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.226, allocations: 3.938 kB / 1.43 GB, free: 4.961 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/1.229, allocations: 3.423 MB / 1.434 GB, free: 1.43 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.23, allocations: 4 kB / 1.434 GB, free: 1.426 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/1.23, allocations: 59.88 kB / 1.434 GB, free: 1.367 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.23, allocations: 7.938 kB / 1.434 GB, free: 1.359 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/1.23, allocations: 8 kB / 1.434 GB, free: 1.352 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.23, allocations: 0 / 1.434 GB, free: 1.352 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.23, allocations: 0 / 1.434 GB, free: 1.352 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/1.231, allocations: 0.5426 MB / 1.434 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.231, allocations: 140.6 kB / 1.435 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/1.231, allocations: 7.938 kB / 1.435 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/1.231, allocations: 19.98 kB / 1.435 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/1.231, allocations: 23.91 kB / 1.435 GB, free: 0.582 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/1.231, allocations: 12 kB / 1.435 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.784e-05/1.231, allocations: 103.2 kB / 1.435 GB, free: 480 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.231, allocations: 3.938 kB / 1.435 GB, free: 476 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.004125/1.235, allocations: 1.691 MB / 1.436 GB, free: 14.77 MB / 1.17 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.009081/1.244, allocations: 2.93 MB / 1.439 GB, free: 11.82 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006433/1.245, allocations: 316.4 kB / 1.44 GB, free: 11.51 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.245, allocations: 0 / 1.44 GB, free: 11.51 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/1.245, allocations: 244.5 kB / 1.44 GB, free: 11.27 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/1.246, allocations: 64.19 kB / 1.44 GB, free: 11.21 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/1.252, allocations: 3.05 MB / 1.443 GB, free: 8.047 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/1.253, allocations: 0.7661 MB / 1.444 GB, free: 7.254 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000564/1.253, allocations: 405.2 kB / 1.444 GB, free: 6.852 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/1.253, allocations: 99.33 kB / 1.444 GB, free: 6.754 MB / 1.17 GB Notification: Performance of SimCode: time 6.01e-07/1.253, allocations: 0 / 1.444 GB, free: 6.754 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.358, allocations: 63.14 MB / 1.506 GB, free: 7.625 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.55, allocations: 22.23 kB / 1.506 GB, free: 7.609 MB / 1.232 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/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