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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004103/0.004103, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.00123/0.00123, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2847, allocations: 162.2 MB / 1.241 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.6629/0.9477, allocations: 136.1 MB / 1.374 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02812/0.9758, allocations: 22.68 MB / 1.397 GB, free: 124 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.976, allocations: 1.281 kB / 1.397 GB, free: 124 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.9763, allocations: 50.25 kB / 1.397 GB, free: 80 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.9766, allocations: 90.78 kB / 1.397 GB, free: 4 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0169/0.9935, allocations: 6.945 MB / 1.403 GB, free: 11.31 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.9938, allocations: 250.1 kB / 1.404 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.9939, allocations: 12.12 kB / 1.404 GB, free: 11.17 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.9942, allocations: 146 kB / 1.404 GB, free: 11.09 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.9944, allocations: 93.94 kB / 1.404 GB, free: 11.03 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.9944, allocations: 8 kB / 1.404 GB, free: 11.03 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02089/1.015, allocations: 11.64 MB / 1.415 GB, free: 4.91 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/1.015, allocations: 38.27 kB / 1.415 GB, free: 4.883 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/1.016, allocations: 88.58 kB / 1.415 GB, free: 4.832 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/1.027, allocations: 6.478 MB / 1.422 GB, free: 15.21 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/1.027, allocations: 0 / 1.422 GB, free: 15.21 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.342e-06/1.027, allocations: 0 / 1.422 GB, free: 15.21 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.027, allocations: 0 / 1.422 GB, free: 15.21 MB / 1.123 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.002729/1.029, allocations: 1.246 MB / 1.423 GB, free: 13.91 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.029, allocations: 8.031 kB / 1.423 GB, free: 13.91 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/1.029, allocations: 58.67 kB / 1.423 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.031, allocations: 82.08 kB / 1.423 GB, free: 13.76 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/1.031, allocations: 232.3 kB / 1.423 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/1.031, allocations: 11.94 kB / 1.423 GB, free: 13.48 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/1.031, allocations: 20 kB / 1.423 GB, free: 13.46 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.032, allocations: 456.3 kB / 1.424 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.032, allocations: 0 / 1.424 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/1.032, allocations: 11.98 kB / 1.424 GB, free: 12.99 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.032, allocations: 4 kB / 1.424 GB, free: 12.98 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/1.033, allocations: 0.5892 MB / 1.424 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.035, allocations: 0.8823 MB / 1.425 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/1.035, allocations: 258.1 kB / 1.425 GB, free: 11.16 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/1.036, allocations: 68.83 kB / 1.426 GB, free: 11.09 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09519/1.131, allocations: 35.42 MB / 1.46 GB, free: 4.574 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/1.131, allocations: 38.56 kB / 1.46 GB, free: 4.527 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 1.784e-06/1.131, allocations: 0 / 1.46 GB, free: 4.527 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.001794/1.133, allocations: 419.6 kB / 1.461 GB, free: 4.113 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.133, allocations: 59.34 kB / 1.461 GB, free: 4.043 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.133, allocations: 142.4 kB / 1.461 GB, free: 3.895 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/1.133, allocations: 29.7 kB / 1.461 GB, free: 3.859 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/1.133, allocations: 116.5 kB / 1.461 GB, free: 3.742 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/1.133, allocations: 91.22 kB / 1.461 GB, free: 3.652 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/1.133, allocations: 73.67 kB / 1.461 GB, free: 3.574 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.133, allocations: 330.7 kB / 1.461 GB, free: 3.242 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/1.134, allocations: 83.94 kB / 1.461 GB, free: 3.16 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/1.134, allocations: 127 kB / 1.462 GB, free: 3.02 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/1.134, allocations: 217.2 kB / 1.462 GB, free: 2.789 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.134, allocations: 0 / 1.462 GB, free: 2.789 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000834/1.135, allocations: 309.3 kB / 1.462 GB, free: 2.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.135, allocations: 6.656 kB / 1.462 GB, free: 2.477 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.135, allocations: 0 / 1.462 GB, free: 2.477 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.135, allocations: 4 kB / 1.462 GB, free: 2.473 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/1.136, allocations: 79.88 kB / 1.462 GB, free: 2.395 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.136, allocations: 7.938 kB / 1.462 GB, free: 2.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/1.136, allocations: 23.78 kB / 1.462 GB, free: 2.363 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/1.136, allocations: 27.97 kB / 1.462 GB, free: 2.336 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.000138/1.136, allocations: 126.5 kB / 1.462 GB, free: 2.203 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/1.136, allocations: 19.91 kB / 1.462 GB, free: 2.184 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/1.139, allocations: 2.342 MB / 1.465 GB, free: 15.83 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/1.139, allocations: 7.984 kB / 1.465 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.139, allocations: 0 / 1.465 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.139, allocations: 7.922 kB / 1.465 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/1.143, allocations: 3.431 MB / 1.468 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.143, allocations: 2.375 kB / 1.468 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/1.143, allocations: 59.94 kB / 1.468 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.143, allocations: 0 / 1.468 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.143, allocations: 11.94 kB / 1.468 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.143, allocations: 3.938 kB / 1.468 GB, free: 12.19 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.143, allocations: 4 kB / 1.468 GB, free: 12.19 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/1.144, allocations: 0.5467 MB / 1.469 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.144, allocations: 136.7 kB / 1.469 GB, free: 11.47 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/1.144, allocations: 15.92 kB / 1.469 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/1.144, allocations: 12 kB / 1.469 GB, free: 11.45 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/1.144, allocations: 19.91 kB / 1.469 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/1.144, allocations: 16 kB / 1.469 GB, free: 11.41 MB / 1.17 GB Notification: Performance of sorting global known variables: time 8.215e-05/1.144, allocations: 111.2 kB / 1.469 GB, free: 11.3 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.6e-07/1.144, allocations: 0 / 1.469 GB, free: 11.3 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003807/1.148, allocations: 1.703 MB / 1.471 GB, free: 9.594 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.007556/1.156, allocations: 2.942 MB / 1.473 GB, free: 6.629 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006205/1.156, allocations: 332.3 kB / 1.474 GB, free: 6.305 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.156, allocations: 3.938 kB / 1.474 GB, free: 6.301 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/1.157, allocations: 233.2 kB / 1.474 GB, free: 6.074 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/1.157, allocations: 76.12 kB / 1.474 GB, free: 6 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/1.162, allocations: 3.079 MB / 1.477 GB, free: 2.801 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/1.163, allocations: 0.7661 MB / 1.478 GB, free: 2.012 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005868/1.163, allocations: 405.2 kB / 1.478 GB, free: 1.613 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/1.163, allocations: 103.3 kB / 1.478 GB, free: 1.516 MB / 1.17 GB Notification: Performance of SimCode: time 2.8e-07/1.163, allocations: 0 / 1.478 GB, free: 1.516 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.271, allocations: 63.16 MB / 1.54 GB, free: 2.375 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.73, allocations: 6.469 kB / 1.54 GB, free: 2.371 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.csv","/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