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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.001306/0.001306, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001378/0.001378, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.47 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2518, allocations: 157.4 MB / 1.052 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1249/0.3768, allocations: 134 MB / 1.183 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02751/0.4043, allocations: 25.13 MB / 1.208 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.4045, allocations: 4 kB / 1.208 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.4047, allocations: 35.8 kB / 1.208 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.405, allocations: 87.48 kB / 1.208 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.4173, allocations: 5.496 MB / 1.213 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.4176, allocations: 307.8 kB / 1.213 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.4176, allocations: 13.56 kB / 1.213 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.4179, allocations: 131.4 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.418, allocations: 95.66 kB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.4181, allocations: 8 kB / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01659/0.4347, allocations: 11.52 MB / 1.225 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.4348, allocations: 39.89 kB / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.4349, allocations: 79.64 kB / 1.225 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.4455, allocations: 6.499 MB / 1.231 GB, free: 220 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4455, allocations: 0 / 1.231 GB, free: 220 kB / 0.9825 GB Notification: Performance of FrontEnd: time 3.397e-06/0.4455, allocations: 0 / 1.231 GB, free: 220 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.4455, allocations: 7.938 kB / 1.231 GB, free: 212 kB / 0.9825 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.002696/0.4482, allocations: 1.205 MB / 1.233 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4483, allocations: 8.031 kB / 1.233 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.4483, allocations: 58.73 kB / 1.233 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009771/0.4493, allocations: 80.67 kB / 1.233 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.4495, allocations: 228.1 kB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4496, allocations: 15.94 kB / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.4496, allocations: 20 kB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.4507, allocations: 448.4 kB / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4507, allocations: 0 / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.4507, allocations: 8 kB / 1.233 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4507, allocations: 7.938 kB / 1.233 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.4519, allocations: 0.5893 MB / 1.234 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008939/0.4528, allocations: 0.8784 MB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.4536, allocations: 255.6 kB / 1.235 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4537, allocations: 77.25 kB / 1.235 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4704/0.9242, allocations: 35.05 MB / 1.269 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.9242, allocations: 37.73 kB / 1.269 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.9242, allocations: 0 / 1.269 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001804/0.926, allocations: 416.8 kB / 1.27 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.9261, allocations: 55.06 kB / 1.27 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.9262, allocations: 143.1 kB / 1.27 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.9262, allocations: 30.64 kB / 1.27 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.9263, allocations: 111.2 kB / 1.27 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.9263, allocations: 86.78 kB / 1.27 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.9265, allocations: 83.22 kB / 1.27 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.9265, allocations: 324.8 kB / 1.271 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.9267, allocations: 79.34 kB / 1.271 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.927, allocations: 128.5 kB / 1.271 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.9274, allocations: 222.9 kB / 1.271 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9274, allocations: 1.406 kB / 1.271 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007275/0.9282, allocations: 296.8 kB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9282, allocations: 9.453 kB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9282, allocations: 6.625 kB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9282, allocations: 2.469 kB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.9285, allocations: 82.8 kB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.9285, allocations: 11.28 kB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.9287, allocations: 26.05 kB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.9287, allocations: 26.05 kB / 1.271 GB, free: 175 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 9.278e-05/0.9288, allocations: 125.7 kB / 1.272 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.929, allocations: 16.34 kB / 1.272 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.9311, allocations: 2.342 MB / 1.274 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.9311, allocations: 16.2 kB / 1.274 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9311, allocations: 3.938 kB / 1.274 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.9311, allocations: 5.281 kB / 1.274 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.9338, allocations: 3.42 MB / 1.277 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.9339, allocations: 1.125 kB / 1.277 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.9341, allocations: 63.58 kB / 1.277 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.9341, allocations: 1.688 kB / 1.277 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.9342, allocations: 11.25 kB / 1.277 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.9342, allocations: 7.141 kB / 1.277 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9342, allocations: 0 / 1.277 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.9348, allocations: 0.5466 MB / 1.278 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.9349, allocations: 141.2 kB / 1.278 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.935, allocations: 6.359 kB / 1.278 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.9352, allocations: 14.55 kB / 1.278 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.9352, allocations: 18.48 kB / 1.278 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.9353, allocations: 18.12 kB / 1.278 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.9353, allocations: 110 kB / 1.278 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9353, allocations: 0 / 1.278 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004504/0.9398, allocations: 1.688 MB / 1.28 GB, free: 173.8 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.01359/0.9535, allocations: 2.923 MB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009028/0.9544, allocations: 322.6 kB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9544, allocations: 8.75 kB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.9549, allocations: 245.2 kB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.9557, allocations: 59.41 kB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/0.9626, allocations: 3.177 MB / 1.286 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.9628, allocations: 0.7601 MB / 1.287 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000713/0.9635, allocations: 403.9 kB / 1.287 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.9638, allocations: 100.4 kB / 1.288 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.9638, allocations: 0 / 1.288 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.472/3.436, allocations: 63 MB / 1.349 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/3.436, allocations: 202.2 kB / 1.349 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.019/9.455, allocations: 0 / 1.349 GB, free: 113.4 MB / 0.9981 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