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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005198/0.005199, allocations: 101 kB / 15.73 MB, free: 6.055 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.001352/0.001352, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 75.88 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7394, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1667/0.9061, allocations: 136.1 MB / 1.299 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03249/0.9387, allocations: 22.68 MB / 1.321 GB, free: 4.359 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.939, allocations: 0 / 1.321 GB, free: 4.359 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.9394, allocations: 43.69 kB / 1.321 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.9399, allocations: 99.34 kB / 1.321 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.02482/0.9647, allocations: 6.938 MB / 1.328 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.9652, allocations: 251.9 kB / 1.328 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.9652, allocations: 13.56 kB / 1.328 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.9655, allocations: 147.3 kB / 1.329 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.9657, allocations: 83.67 kB / 1.329 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.9657, allocations: 11.98 kB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0228/0.9885, allocations: 11.65 MB / 1.34 GB, free: 1.137 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.9887, allocations: 39.81 kB / 1.34 GB, free: 1.098 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.9888, allocations: 79.66 kB / 1.34 GB, free: 1.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01631/1.005, allocations: 6.482 MB / 1.346 GB, free: 10.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/1.005, allocations: 4 kB / 1.346 GB, free: 10.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.324e-06/1.005, allocations: 0 / 1.346 GB, free: 10.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.005, allocations: 8 kB / 1.346 GB, free: 10.51 MB / 1.076 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.003919/1.009, allocations: 1.234 MB / 1.348 GB, free: 9.223 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.009, allocations: 12.92 kB / 1.348 GB, free: 9.211 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/1.009, allocations: 50.67 kB / 1.348 GB, free: 9.152 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.01, allocations: 88.75 kB / 1.348 GB, free: 9.066 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/1.011, allocations: 228.1 kB / 1.348 GB, free: 8.805 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/1.011, allocations: 11.94 kB / 1.348 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/1.011, allocations: 16 kB / 1.348 GB, free: 8.777 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1.012, allocations: 454.1 kB / 1.348 GB, free: 8.316 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.012, allocations: 0 / 1.348 GB, free: 8.316 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/1.012, allocations: 8 kB / 1.348 GB, free: 8.309 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.012, allocations: 4 kB / 1.348 GB, free: 8.305 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/1.013, allocations: 0.597 MB / 1.349 GB, free: 7.707 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/1.015, allocations: 0.8861 MB / 1.35 GB, free: 6.734 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/1.015, allocations: 260 kB / 1.35 GB, free: 6.473 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/1.016, allocations: 80.81 kB / 1.35 GB, free: 6.391 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09804/1.114, allocations: 35.42 MB / 1.385 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.114, allocations: 38.56 kB / 1.385 GB, free: 15.83 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.953e-06/1.114, allocations: 3.938 kB / 1.385 GB, free: 15.83 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.001811/1.115, allocations: 422.5 kB / 1.385 GB, free: 15.41 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/1.116, allocations: 51.41 kB / 1.385 GB, free: 15.35 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/1.116, allocations: 145.8 kB / 1.385 GB, free: 15.2 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/1.116, allocations: 33.7 kB / 1.386 GB, free: 15.16 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/1.116, allocations: 108.5 kB / 1.386 GB, free: 15.04 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/1.116, allocations: 91.2 kB / 1.386 GB, free: 14.95 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/1.116, allocations: 77.66 kB / 1.386 GB, free: 14.87 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.116, allocations: 326.8 kB / 1.386 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/1.116, allocations: 83.95 kB / 1.386 GB, free: 14.46 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/1.117, allocations: 137.1 kB / 1.386 GB, free: 14.31 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/1.117, allocations: 223.8 kB / 1.387 GB, free: 14.07 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.117, allocations: 4 kB / 1.387 GB, free: 14.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007998/1.118, allocations: 299.5 kB / 1.387 GB, free: 13.77 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.118, allocations: 10.33 kB / 1.387 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.118, allocations: 0 / 1.387 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.118, allocations: 7.938 kB / 1.387 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/1.118, allocations: 75.94 kB / 1.387 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.118, allocations: 7.938 kB / 1.387 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/1.119, allocations: 23.78 kB / 1.387 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/1.119, allocations: 27.98 kB / 1.387 GB, free: 13.62 MB / 1.123 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.0001341/1.119, allocations: 126 kB / 1.387 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/1.119, allocations: 23.83 kB / 1.387 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/1.122, allocations: 2.334 MB / 1.389 GB, free: 11.13 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.122, allocations: 11.98 kB / 1.389 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.122, allocations: 3.984 kB / 1.389 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.122, allocations: 3.938 kB / 1.389 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/1.125, allocations: 3.419 MB / 1.393 GB, free: 7.574 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.126, allocations: 4 kB / 1.393 GB, free: 7.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/1.126, allocations: 55.95 kB / 1.393 GB, free: 7.516 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/1.126, allocations: 15.81 kB / 1.393 GB, free: 7.5 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/1.126, allocations: 7.984 kB / 1.393 GB, free: 7.492 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/1.126, allocations: 4 kB / 1.393 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.126, allocations: 0 / 1.393 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/1.127, allocations: 0.5389 MB / 1.393 GB, free: 6.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/1.127, allocations: 144.6 kB / 1.393 GB, free: 6.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/1.127, allocations: 15.94 kB / 1.393 GB, free: 6.754 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/1.127, allocations: 11.98 kB / 1.394 GB, free: 6.742 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/1.127, allocations: 19.98 kB / 1.394 GB, free: 6.723 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/1.127, allocations: 11.98 kB / 1.394 GB, free: 6.711 MB / 1.123 GB Notification: Performance of sorting global known variables: time 8.498e-05/1.127, allocations: 103.3 kB / 1.394 GB, free: 6.609 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.127, allocations: 0 / 1.394 GB, free: 6.609 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004077/1.131, allocations: 1.711 MB / 1.395 GB, free: 4.895 MB / 1.123 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.008604/1.14, allocations: 2.945 MB / 1.398 GB, free: 1.918 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007146/1.141, allocations: 320.3 kB / 1.398 GB, free: 1.605 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.141, allocations: 0 / 1.398 GB, free: 1.605 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/1.141, allocations: 248.5 kB / 1.399 GB, free: 1.363 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/1.142, allocations: 72.12 kB / 1.399 GB, free: 1.293 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/1.147, allocations: 3.082 MB / 1.402 GB, free: 14.1 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/1.148, allocations: 0.7661 MB / 1.403 GB, free: 13.3 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006498/1.149, allocations: 409.2 kB / 1.403 GB, free: 12.9 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/1.149, allocations: 91.39 kB / 1.403 GB, free: 12.82 MB / 1.139 GB Notification: Performance of SimCode: time 7.41e-07/1.149, allocations: 0 / 1.403 GB, free: 12.82 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/1.261, allocations: 63.14 MB / 1.465 GB, free: 13.68 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14.03, allocations: 11.81 kB / 1.465 GB, free: 13.66 MB / 1.201 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_SteamProperties.fmu > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.csv","/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