Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00258/0.00258, allocations: 209.5 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.397/3.397, allocations: 0.49 GB / 0.7951 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 75.27 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3641, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.17/0.5342, allocations: 139.4 MB / 1.462 GB, free: 5.996 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.5656, allocations: 22.88 MB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.5658, allocations: 4 kB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.5662, allocations: 47.69 kB / 1.484 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.5666, allocations: 87.42 kB / 1.485 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01978/0.5864, allocations: 6.994 MB / 1.491 GB, free: 7.922 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.5868, allocations: 251.9 kB / 1.492 GB, free: 7.676 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.5869, allocations: 9.734 kB / 1.492 GB, free: 7.664 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.5872, allocations: 151.5 kB / 1.492 GB, free: 7.516 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.5874, allocations: 95.59 kB / 1.492 GB, free: 7.422 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.5874, allocations: 8 kB / 1.492 GB, free: 7.414 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02448/0.6119, allocations: 11.7 MB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.6121, allocations: 35.83 kB / 1.503 GB, free: 11.67 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.6122, allocations: 91.64 kB / 1.503 GB, free: 11.58 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01805/0.6303, allocations: 6.505 MB / 1.51 GB, free: 5.059 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6303, allocations: 0 / 1.51 GB, free: 5.059 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6303, allocations: 0 / 1.51 GB, free: 5.059 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.6303, allocations: 0 / 1.51 GB, free: 5.059 MB / 1.201 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.003789/0.6341, allocations: 1.163 MB / 1.511 GB, free: 3.859 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.6341, allocations: 12.03 kB / 1.511 GB, free: 3.848 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.6342, allocations: 50.73 kB / 1.511 GB, free: 3.789 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.6353, allocations: 88.75 kB / 1.511 GB, free: 3.703 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.6355, allocations: 170.3 kB / 1.511 GB, free: 3.512 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.6355, allocations: 19.88 kB / 1.511 GB, free: 3.492 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.6356, allocations: 16 kB / 1.511 GB, free: 3.477 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.6368, allocations: 484.7 kB / 1.512 GB, free: 2.984 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6368, allocations: 0 / 1.512 GB, free: 2.984 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.6368, allocations: 8 kB / 1.512 GB, free: 2.977 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6368, allocations: 8 kB / 1.512 GB, free: 2.969 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.6381, allocations: 0.6205 MB / 1.512 GB, free: 2.348 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.6392, allocations: 0.8502 MB / 1.513 GB, free: 1.418 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.6401, allocations: 235.8 kB / 1.513 GB, free: 1.18 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.6402, allocations: 64.83 kB / 1.513 GB, free: 1.113 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08702/0.7272, allocations: 23.3 MB / 1.536 GB, free: 9.773 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.865e-05/0.7273, allocations: 38.56 kB / 1.536 GB, free: 9.727 MB / 1.232 GB Notification: Performance of pre-optimization done (n=25): time 2.594e-06/0.7273, allocations: 0 / 1.536 GB, free: 9.727 MB / 1.232 GB Notification: Performance of matching and sorting (n=25): time 0.002101/0.7294, allocations: 423.8 kB / 1.537 GB, free: 9.309 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.7294, allocations: 55.41 kB / 1.537 GB, free: 9.242 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.7296, allocations: 143.2 kB / 1.537 GB, free: 9.094 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.7296, allocations: 29.7 kB / 1.537 GB, free: 9.059 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.7297, allocations: 112.4 kB / 1.537 GB, free: 8.945 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.283e-05/0.7298, allocations: 95.2 kB / 1.537 GB, free: 8.852 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.73, allocations: 73.66 kB / 1.537 GB, free: 8.773 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7301, allocations: 326.8 kB / 1.537 GB, free: 8.445 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.7303, allocations: 83.89 kB / 1.537 GB, free: 8.363 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.7306, allocations: 133.1 kB / 1.538 GB, free: 8.215 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.731, allocations: 210.8 kB / 1.538 GB, free: 7.992 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.731, allocations: 4 kB / 1.538 GB, free: 7.988 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000827/0.7318, allocations: 303.9 kB / 1.538 GB, free: 7.688 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.7319, allocations: 5.406 kB / 1.538 GB, free: 7.684 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.7319, allocations: 4 kB / 1.538 GB, free: 7.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.7319, allocations: 0 / 1.538 GB, free: 7.68 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.7323, allocations: 83.81 kB / 1.538 GB, free: 7.598 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/0.7323, allocations: 7.984 kB / 1.538 GB, free: 7.59 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.7325, allocations: 19.83 kB / 1.538 GB, free: 7.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.7325, allocations: 28.14 kB / 1.538 GB, free: 7.543 MB / 1.232 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.0001899/0.7327, allocations: 130.3 kB / 1.538 GB, free: 7.406 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.7329, allocations: 15.91 kB / 1.538 GB, free: 7.391 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.736, allocations: 2.487 MB / 1.541 GB, free: 4.891 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.7361, allocations: 19.97 kB / 1.541 GB, free: 4.871 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7361, allocations: 4 kB / 1.541 GB, free: 4.867 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.7361, allocations: 7.922 kB / 1.541 GB, free: 4.859 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/0.7399, allocations: 3.602 MB / 1.544 GB, free: 1.148 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.7399, allocations: 0 / 1.544 GB, free: 1.148 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.7402, allocations: 55.95 kB / 1.544 GB, free: 1.094 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.7402, allocations: 3.938 kB / 1.544 GB, free: 1.09 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.7402, allocations: 8 kB / 1.544 GB, free: 1.082 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7402, allocations: 0 / 1.544 GB, free: 1.082 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7402, allocations: 0 / 1.544 GB, free: 1.082 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.7411, allocations: 0.5545 MB / 1.545 GB, free: 0.5117 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.7412, allocations: 67.56 kB / 1.545 GB, free: 456 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.7413, allocations: 19.81 kB / 1.545 GB, free: 436 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.7415, allocations: 12 kB / 1.545 GB, free: 424 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.7416, allocations: 19.95 kB / 1.545 GB, free: 404 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.7416, allocations: 16 kB / 1.545 GB, free: 388 kB / 1.232 GB Notification: Performance of sorting global known variables: time 9.713e-05/0.7417, allocations: 105 kB / 1.545 GB, free: 284 kB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.7417, allocations: 0 / 1.545 GB, free: 284 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.004699/0.7464, allocations: 1.715 MB / 1.547 GB, free: 14.56 MB / 1.248 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.009925/0.7563, allocations: 2.965 MB / 1.55 GB, free: 11.56 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007958/0.7571, allocations: 320.3 kB / 1.55 GB, free: 11.25 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7571, allocations: 0 / 1.55 GB, free: 11.25 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.7575, allocations: 193.5 kB / 1.55 GB, free: 11.06 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.7581, allocations: 64.2 kB / 1.55 GB, free: 11 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/0.7642, allocations: 3.102 MB / 1.553 GB, free: 7.789 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.7646, allocations: 0.7621 MB / 1.554 GB, free: 7 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006251/0.7652, allocations: 409.1 kB / 1.554 GB, free: 6.598 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.7655, allocations: 99.39 kB / 1.555 GB, free: 6.5 MB / 1.248 GB Notification: Performance of SimCode: time 6.01e-07/0.7655, allocations: 0 / 1.555 GB, free: 6.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8341/1.6, allocations: 63.79 MB / 1.617 GB, free: 236.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/17.31, allocations: 4.891 kB / 1.617 GB, free: 236.9 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamProperties.fmu > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.6040968131274]