Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001691/0.001691, allocations: 116.4 kB / 17.17 MB, free: 5.883 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.002039/0.002039, allocations: 211 kB / 20.13 MB, free: 2.941 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.654/1.654, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="cs",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.002412/0.002412, allocations: 67.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9543/0.9568, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.202/1.159, allocations: 139.4 MB / 1.415 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03396/1.193, allocations: 22.81 MB / 1.437 GB, free: 9.805 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/1.193, allocations: 3.938 kB / 1.437 GB, free: 9.801 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003684/1.193, allocations: 47.67 kB / 1.437 GB, free: 9.754 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003971/1.194, allocations: 95.42 kB / 1.437 GB, free: 9.66 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01964/1.213, allocations: 6.972 MB / 1.444 GB, free: 2.703 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004673/1.214, allocations: 251.9 kB / 1.444 GB, free: 2.453 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 6.157e-05/1.214, allocations: 13.55 kB / 1.445 GB, free: 2.441 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/1.214, allocations: 139.5 kB / 1.445 GB, free: 2.305 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/1.214, allocations: 91.59 kB / 1.445 GB, free: 2.215 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/1.214, allocations: 12 kB / 1.445 GB, free: 2.203 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02388/1.238, allocations: 11.67 MB / 1.456 GB, free: 6.516 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/1.239, allocations: 43.81 kB / 1.456 GB, free: 6.473 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/1.239, allocations: 79.66 kB / 1.456 GB, free: 6.395 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01584/1.255, allocations: 6.509 MB / 1.463 GB, free: 15.87 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.255, allocations: 7.938 kB / 1.463 GB, free: 15.86 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.814e-06/1.255, allocations: 0 / 1.463 GB, free: 15.86 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.255, allocations: 0 / 1.463 GB, free: 15.86 MB / 1.154 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.003838/1.258, allocations: 1.25 MB / 1.464 GB, free: 14.55 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.258, allocations: 12.03 kB / 1.464 GB, free: 14.54 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.958e-05/1.258, allocations: 4.188 kB / 1.464 GB, free: 14.54 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/1.258, allocations: 50.73 kB / 1.464 GB, free: 14.48 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.26, allocations: 84.77 kB / 1.464 GB, free: 14.4 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/1.26, allocations: 227.9 kB / 1.464 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1.26, allocations: 12 kB / 1.464 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/1.26, allocations: 23.94 kB / 1.464 GB, free: 14.1 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/1.261, allocations: 446.2 kB / 1.465 GB, free: 13.65 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.261, allocations: 7.938 kB / 1.465 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/1.261, allocations: 4 kB / 1.465 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/1.261, allocations: 8 kB / 1.465 GB, free: 13.63 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.263, allocations: 0.597 MB / 1.465 GB, free: 13.03 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/1.264, allocations: 0.8823 MB / 1.466 GB, free: 12.06 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/1.265, allocations: 236.8 kB / 1.466 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/1.265, allocations: 79.33 kB / 1.466 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1005/1.366, allocations: 36.52 MB / 1.502 GB, free: 3.906 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/1.366, allocations: 38.56 kB / 1.502 GB, free: 3.859 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/1.366, allocations: 0 / 1.502 GB, free: 3.859 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.001976/1.368, allocations: 417.4 kB / 1.503 GB, free: 3.445 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.368, allocations: 55.41 kB / 1.503 GB, free: 3.379 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/1.368, allocations: 147.7 kB / 1.503 GB, free: 3.227 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/1.368, allocations: 41.58 kB / 1.503 GB, free: 3.18 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/1.368, allocations: 108.5 kB / 1.503 GB, free: 3.07 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/1.368, allocations: 91.25 kB / 1.503 GB, free: 2.98 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.368, allocations: 77.62 kB / 1.503 GB, free: 2.898 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.368, allocations: 322.8 kB / 1.503 GB, free: 2.574 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/1.369, allocations: 83.94 kB / 1.503 GB, free: 2.492 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/1.369, allocations: 130.8 kB / 1.504 GB, free: 2.348 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/1.369, allocations: 216.7 kB / 1.504 GB, free: 2.121 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.369, allocations: 0 / 1.504 GB, free: 2.121 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001035/1.37, allocations: 305.3 kB / 1.504 GB, free: 1.816 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.37, allocations: 8 kB / 1.504 GB, free: 1.809 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.37, allocations: 0 / 1.504 GB, free: 1.809 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/1.371, allocations: 4 kB / 1.504 GB, free: 1.805 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/1.371, allocations: 79.88 kB / 1.504 GB, free: 1.727 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/1.371, allocations: 7.938 kB / 1.504 GB, free: 1.719 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/1.371, allocations: 19.83 kB / 1.504 GB, free: 1.699 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/1.371, allocations: 27.97 kB / 1.504 GB, free: 1.672 MB / 1.186 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.0001836/1.371, allocations: 129.9 kB / 1.504 GB, free: 1.535 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/1.371, allocations: 19.91 kB / 1.504 GB, free: 1.516 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/1.374, allocations: 2.343 MB / 1.507 GB, free: 15.15 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.374, allocations: 7.984 kB / 1.507 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.374, allocations: 3.938 kB / 1.507 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.374, allocations: 0 / 1.507 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/1.378, allocations: 3.423 MB / 1.51 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.378, allocations: 4 kB / 1.51 GB, free: 11.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/1.378, allocations: 55.94 kB / 1.51 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/1.378, allocations: 3.938 kB / 1.51 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/1.378, allocations: 8 kB / 1.51 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/1.378, allocations: 0 / 1.51 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.378, allocations: 0 / 1.51 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/1.379, allocations: 0.5584 MB / 1.511 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/1.38, allocations: 144.6 kB / 1.511 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/1.38, allocations: 12 kB / 1.511 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/1.38, allocations: 11.98 kB / 1.511 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/1.38, allocations: 19.91 kB / 1.511 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/1.38, allocations: 19.94 kB / 1.511 GB, free: 10.74 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000126/1.38, allocations: 107.2 kB / 1.511 GB, free: 10.64 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.38, allocations: 0 / 1.511 GB, free: 10.64 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.006169/1.386, allocations: 1.707 MB / 1.513 GB, free: 8.926 MB / 1.201 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.01126/1.397, allocations: 2.957 MB / 1.515 GB, free: 5.938 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000814/1.398, allocations: 312.5 kB / 1.516 GB, free: 5.637 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.398, allocations: 4 kB / 1.516 GB, free: 5.633 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/1.399, allocations: 192.5 kB / 1.516 GB, free: 5.445 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/1.399, allocations: 66.38 kB / 1.516 GB, free: 5.383 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/1.406, allocations: 3.088 MB / 1.519 GB, free: 2.184 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/1.406, allocations: 0.7622 MB / 1.52 GB, free: 1.391 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006363/1.407, allocations: 413.1 kB / 1.52 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/1.407, allocations: 99.39 kB / 1.52 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of SimCode: time 1.303e-06/1.407, allocations: 0 / 1.52 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.523, allocations: 63.33 MB / 1.582 GB, free: 1.586 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.63, allocations: 21.16 kB / 1.582 GB, free: 1.57 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamProperties.fmu > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.550409085000865]