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.0009396/0.0009397, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005879/0.005879, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 11.88 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.12/0.3685, allocations: 132.3 MB / 1.188 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02583/0.3944, allocations: 24.77 MB / 1.212 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.3945, allocations: 0 / 1.212 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.3947, allocations: 39.81 kB / 1.212 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.3949, allocations: 91.47 kB / 1.212 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0183/0.4133, allocations: 5.491 MB / 1.218 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.4138, allocations: 303.8 kB / 1.218 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.4139, allocations: 9.562 kB / 1.218 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.4141, allocations: 139.4 kB / 1.218 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.4143, allocations: 91.66 kB / 1.218 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.4143, allocations: 8 kB / 1.218 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02374/0.438, allocations: 11.52 MB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.4382, allocations: 39.83 kB / 1.229 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.4384, allocations: 113.3 kB / 1.23 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.4518, allocations: 6.468 MB / 1.236 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4518, allocations: 4 kB / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4518, allocations: 0 / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.4518, allocations: 0 / 1.236 GB, free: 14.98 MB / 0.9981 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.002758/0.4546, allocations: 1.166 MB / 1.237 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4546, allocations: 11.97 kB / 1.237 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.4547, allocations: 50.73 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009966/0.4557, allocations: 84.7 kB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4559, allocations: 235.9 kB / 1.237 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4559, allocations: 15.94 kB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4559, allocations: 12 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.457, allocations: 460.4 kB / 1.238 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.457, allocations: 0 / 1.238 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.457, allocations: 12 kB / 1.238 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.457, allocations: 4 kB / 1.238 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.4582, allocations: 0.5892 MB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.4592, allocations: 0.8745 MB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.4599, allocations: 255.5 kB / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.46, allocations: 77.25 kB / 1.24 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5546/1.015, allocations: 35.33 MB / 1.274 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/1.015, allocations: 33.7 kB / 1.274 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/1.015, allocations: 0.5469 kB / 1.274 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001681/1.016, allocations: 418.2 kB / 1.274 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/1.016, allocations: 56.97 kB / 1.275 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.017, allocations: 146.2 kB / 1.275 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/1.017, allocations: 36.08 kB / 1.275 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/1.017, allocations: 107.9 kB / 1.275 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/1.017, allocations: 90.02 kB / 1.275 GB, free: 172 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/1.017, allocations: 27.58 kB / 1.275 GB, free: 172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/1.017, allocations: 325.4 kB / 1.275 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/1.017, allocations: 82.67 kB / 1.275 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/1.017, allocations: 132.6 kB / 1.275 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/1.018, allocations: 217 kB / 1.276 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.018, allocations: 1.406 kB / 1.276 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006801/1.018, allocations: 306.8 kB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.018, allocations: 5.562 kB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.018, allocations: 1.906 kB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.018, allocations: 2.781 kB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/1.019, allocations: 82.19 kB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.019, allocations: 7.234 kB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/1.019, allocations: 21.39 kB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/1.019, allocations: 25.34 kB / 1.276 GB, free: 171.5 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.0001199/1.019, allocations: 130.2 kB / 1.276 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/1.019, allocations: 13 kB / 1.276 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/1.022, allocations: 2.353 MB / 1.279 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/1.022, allocations: 8.734 kB / 1.279 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.022, allocations: 4.641 kB / 1.279 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.022, allocations: 2.578 kB / 1.279 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/1.025, allocations: 3.42 MB / 1.282 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.025, allocations: 6.562 kB / 1.282 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/1.025, allocations: 62.7 kB / 1.282 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/1.025, allocations: 1.938 kB / 1.282 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.026, allocations: 6.953 kB / 1.282 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.026, allocations: 1.188 kB / 1.282 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.026, allocations: 1.875 kB / 1.282 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/1.026, allocations: 0.5507 MB / 1.282 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/1.026, allocations: 140.9 kB / 1.283 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/1.026, allocations: 11.06 kB / 1.283 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/1.027, allocations: 16.52 kB / 1.283 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/1.027, allocations: 19.61 kB / 1.283 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/1.027, allocations: 14.64 kB / 1.283 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.572e-05/1.027, allocations: 110.2 kB / 1.283 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.027, allocations: 0 / 1.283 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004407/1.031, allocations: 1.687 MB / 1.284 GB, free: 170.3 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.008236/1.04, allocations: 2.922 MB / 1.287 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006135/1.04, allocations: 326.7 kB / 1.288 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.04, allocations: 1.125 kB / 1.288 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/1.04, allocations: 239 kB / 1.288 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/1.041, allocations: 65.44 kB / 1.288 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/1.046, allocations: 3.202 MB / 1.291 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/1.046, allocations: 0.7656 MB / 1.292 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005202/1.046, allocations: 409.7 kB / 1.292 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/1.046, allocations: 101.2 kB / 1.292 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.046, allocations: 5.188 kB / 1.292 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09936/1.146, allocations: 62.9 MB / 1.354 GB, free: 109.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.146, allocations: 192.2 kB / 1.354 GB, free: 109.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.431/6.578, allocations: 0 / 1.354 GB, free: 109.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