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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 67.89 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7917, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1486/0.9404, allocations: 136.5 MB / 1.405 GB, free: 3.602 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02597/0.9663, allocations: 22.82 MB / 1.427 GB, free: 1.586 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.9665, allocations: 5.062 kB / 1.427 GB, free: 1.582 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.9668, allocations: 47.47 kB / 1.427 GB, free: 1.543 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.9671, allocations: 95.88 kB / 1.427 GB, free: 1.465 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01677/0.9838, allocations: 6.954 MB / 1.434 GB, free: 12.76 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.9842, allocations: 250 kB / 1.434 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.9843, allocations: 7.062 kB / 1.434 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.9846, allocations: 142.7 kB / 1.434 GB, free: 12.54 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.9848, allocations: 94.09 kB / 1.434 GB, free: 12.49 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.9848, allocations: 12.25 kB / 1.434 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02194/1.007, allocations: 11.67 MB / 1.446 GB, free: 2.074 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 9.694e-05/1.007, allocations: 39.83 kB / 1.446 GB, free: 2.035 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/1.007, allocations: 79.64 kB / 1.446 GB, free: 1.957 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01254/1.02, allocations: 6.493 MB / 1.452 GB, free: 11.45 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.02, allocations: 0 / 1.452 GB, free: 11.45 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.623e-06/1.02, allocations: 0 / 1.452 GB, free: 11.45 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.053e-05/1.02, allocations: 3.938 kB / 1.452 GB, free: 11.45 MB / 1.139 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.002877/1.022, allocations: 1.238 MB / 1.453 GB, free: 10.15 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.022, allocations: 8.031 kB / 1.454 GB, free: 10.14 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/1.023, allocations: 58.67 kB / 1.454 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/1.023, allocations: 84.77 kB / 1.454 GB, free: 9.996 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/1.024, allocations: 228.1 kB / 1.454 GB, free: 9.734 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/1.024, allocations: 15.88 kB / 1.454 GB, free: 9.719 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/1.024, allocations: 16 kB / 1.454 GB, free: 9.703 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.025, allocations: 448.5 kB / 1.454 GB, free: 9.246 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.025, allocations: 4 kB / 1.454 GB, free: 9.242 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/1.025, allocations: 8 kB / 1.454 GB, free: 9.234 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.025, allocations: 4 kB / 1.454 GB, free: 9.23 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/1.026, allocations: 0.5931 MB / 1.455 GB, free: 8.637 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/1.027, allocations: 0.8862 MB / 1.456 GB, free: 7.664 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007806/1.028, allocations: 234.3 kB / 1.456 GB, free: 7.426 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/1.028, allocations: 64.83 kB / 1.456 GB, free: 7.359 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08636/1.114, allocations: 35.42 MB / 1.491 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.114, allocations: 42.56 kB / 1.491 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/1.114, allocations: 0 / 1.491 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.001679/1.116, allocations: 425.3 kB / 1.491 GB, free: 376 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.116, allocations: 55.34 kB / 1.491 GB, free: 308 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/1.116, allocations: 143.6 kB / 1.491 GB, free: 156 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/1.116, allocations: 29.7 kB / 1.491 GB, free: 120 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/1.116, allocations: 112.5 kB / 1.491 GB, free: 4 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.279e-05/1.116, allocations: 95.39 kB / 1.492 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.117, allocations: 69.67 kB / 1.492 GB, free: 15.83 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.117, allocations: 330.8 kB / 1.492 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/1.117, allocations: 83.94 kB / 1.492 GB, free: 15.42 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/1.117, allocations: 130.1 kB / 1.492 GB, free: 15.27 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/1.118, allocations: 217 kB / 1.492 GB, free: 15.04 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.118, allocations: 0 / 1.492 GB, free: 15.04 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007277/1.118, allocations: 303.5 kB / 1.493 GB, free: 14.74 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.118, allocations: 4 kB / 1.493 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.118, allocations: 160 / 1.493 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.118, allocations: 8 kB / 1.493 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/1.119, allocations: 79.88 kB / 1.493 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.119, allocations: 7.938 kB / 1.493 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/1.119, allocations: 23.59 kB / 1.493 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/1.119, allocations: 31.97 kB / 1.493 GB, free: 14.59 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.0001198/1.119, allocations: 117.8 kB / 1.493 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/1.119, allocations: 19.91 kB / 1.493 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/1.121, allocations: 2.354 MB / 1.495 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/1.121, allocations: 11.98 kB / 1.495 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.121, allocations: 3.938 kB / 1.495 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.121, allocations: 3.984 kB / 1.495 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/1.125, allocations: 3.416 MB / 1.499 GB, free: 8.535 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.125, allocations: 3.984 kB / 1.499 GB, free: 8.531 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/1.125, allocations: 55.95 kB / 1.499 GB, free: 8.477 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.125, allocations: 3.938 kB / 1.499 GB, free: 8.473 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/1.125, allocations: 11.94 kB / 1.499 GB, free: 8.461 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.125, allocations: 4 kB / 1.499 GB, free: 8.457 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.125, allocations: 4 kB / 1.499 GB, free: 8.453 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/1.126, allocations: 0.5474 MB / 1.499 GB, free: 7.891 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/1.126, allocations: 144.6 kB / 1.499 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/1.126, allocations: 11.94 kB / 1.499 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/1.126, allocations: 8 kB / 1.499 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/1.126, allocations: 19.97 kB / 1.499 GB, free: 7.691 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/1.126, allocations: 16 kB / 1.499 GB, free: 7.676 MB / 1.186 GB Notification: Performance of sorting global known variables: time 6.933e-05/1.126, allocations: 113.1 kB / 1.499 GB, free: 7.566 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.126, allocations: 0 / 1.499 GB, free: 7.566 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003759/1.13, allocations: 1.711 MB / 1.501 GB, free: 5.852 MB / 1.186 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.007142/1.137, allocations: 2.938 MB / 1.504 GB, free: 2.883 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000591/1.138, allocations: 313.3 kB / 1.504 GB, free: 2.578 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.138, allocations: 320 / 1.504 GB, free: 2.578 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/1.138, allocations: 188.5 kB / 1.504 GB, free: 2.395 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/1.138, allocations: 63.88 kB / 1.505 GB, free: 2.332 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/1.143, allocations: 3.094 MB / 1.508 GB, free: 15.13 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/1.143, allocations: 0.7699 MB / 1.508 GB, free: 14.33 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005199/1.144, allocations: 413.2 kB / 1.509 GB, free: 13.92 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/1.144, allocations: 99.38 kB / 1.509 GB, free: 13.82 MB / 1.201 GB Notification: Performance of SimCode: time 5.31e-07/1.144, allocations: 0 / 1.509 GB, free: 13.82 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09944/1.243, allocations: 63.23 MB / 1.571 GB, free: 14.62 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.87, allocations: 7.609 kB / 1.571 GB, free: 14.62 MB / 1.264 GB " [Timeout remaining time 288] (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 --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: 17.317060014998788]