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.001562/0.001562, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00172/0.00172, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.728/2.728, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamProperties") [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.002048/0.002048, allocations: 69.3 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1846/0.4864, allocations: 139.4 MB / 1.421 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.5161, allocations: 22.88 MB / 1.443 GB, free: 8.352 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.5163, allocations: 0 / 1.443 GB, free: 8.352 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.5166, allocations: 51.67 kB / 1.443 GB, free: 8.301 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.517, allocations: 103.3 kB / 1.443 GB, free: 8.199 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.01738/0.5344, allocations: 6.979 MB / 1.45 GB, free: 1.23 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000433/0.5348, allocations: 251.9 kB / 1.45 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.5349, allocations: 9.75 kB / 1.45 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.5352, allocations: 155.4 kB / 1.45 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.5354, allocations: 87.66 kB / 1.451 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.5354, allocations: 12 kB / 1.451 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02244/0.5578, allocations: 11.7 MB / 1.462 GB, free: 5.012 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.5579, allocations: 39.89 kB / 1.462 GB, free: 4.973 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.5581, allocations: 79.66 kB / 1.462 GB, free: 4.895 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.5721, allocations: 6.505 MB / 1.468 GB, free: 14.38 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5721, allocations: 4 kB / 1.468 GB, free: 14.37 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5721, allocations: 3.938 kB / 1.468 GB, free: 14.37 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.5721, allocations: 0 / 1.468 GB, free: 14.37 MB / 1.17 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.003654/0.5758, allocations: 1.174 MB / 1.47 GB, free: 13.16 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5758, allocations: 12.03 kB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.5769, allocations: 84.77 kB / 1.47 GB, free: 13.06 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.5773, allocations: 170.3 kB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.5773, allocations: 16.12 kB / 1.47 GB, free: 12.86 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.5773, allocations: 16 kB / 1.47 GB, free: 12.84 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.5786, allocations: 470.2 kB / 1.47 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5786, allocations: 3.938 kB / 1.47 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.5786, allocations: 15.98 kB / 1.47 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5786, allocations: 4 kB / 1.47 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.5801, allocations: 0.6088 MB / 1.471 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.5813, allocations: 0.8697 MB / 1.472 GB, free: 10.78 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.5822, allocations: 236.2 kB / 1.472 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.5823, allocations: 68.83 kB / 1.472 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08731/0.6696, allocations: 23.3 MB / 1.495 GB, free: 3.129 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.6697, allocations: 38.55 kB / 1.495 GB, free: 3.082 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 2.454e-06/0.6697, allocations: 0 / 1.495 GB, free: 3.082 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.001853/0.6715, allocations: 424.2 kB / 1.495 GB, free: 2.664 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6716, allocations: 55.41 kB / 1.495 GB, free: 2.598 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.6717, allocations: 136.3 kB / 1.495 GB, free: 2.457 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.6718, allocations: 33.7 kB / 1.495 GB, free: 2.418 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.6719, allocations: 112.4 kB / 1.496 GB, free: 2.305 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.6719, allocations: 91.2 kB / 1.496 GB, free: 2.215 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.6721, allocations: 77.67 kB / 1.496 GB, free: 2.133 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6722, allocations: 326.8 kB / 1.496 GB, free: 1.805 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.6724, allocations: 83.94 kB / 1.496 GB, free: 1.723 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.6727, allocations: 130.3 kB / 1.496 GB, free: 1.578 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.6733, allocations: 228.4 kB / 1.496 GB, free: 1.34 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6733, allocations: 0 / 1.496 GB, free: 1.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007834/0.6741, allocations: 301.3 kB / 1.497 GB, free: 1.039 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6741, allocations: 8 kB / 1.497 GB, free: 1.031 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6741, allocations: 0 / 1.497 GB, free: 1.031 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.6741, allocations: 4 kB / 1.497 GB, free: 1.027 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.6744, allocations: 79.88 kB / 1.497 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6744, allocations: 4 kB / 1.497 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.6746, allocations: 19.83 kB / 1.497 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.6746, allocations: 23.97 kB / 1.497 GB, free: 0.9023 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.0001399/0.6748, allocations: 129.8 kB / 1.497 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.675, allocations: 24 kB / 1.497 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.678, allocations: 2.487 MB / 1.499 GB, free: 14.24 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.678, allocations: 11.98 kB / 1.499 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.678, allocations: 0 / 1.499 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.678, allocations: 3.938 kB / 1.499 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/0.6822, allocations: 3.602 MB / 1.503 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6822, allocations: 0 / 1.503 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.6825, allocations: 55.88 kB / 1.503 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.6825, allocations: 8 kB / 1.503 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.6825, allocations: 11.88 kB / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.6825, allocations: 8 kB / 1.503 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6825, allocations: 0 / 1.503 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008762/0.6834, allocations: 0.5514 MB / 1.504 GB, free: 9.871 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6835, allocations: 63.58 kB / 1.504 GB, free: 9.809 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.6836, allocations: 11.94 kB / 1.504 GB, free: 9.797 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.6838, allocations: 15.98 kB / 1.504 GB, free: 9.781 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.6839, allocations: 19.97 kB / 1.504 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.6839, allocations: 11.98 kB / 1.504 GB, free: 9.75 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001059/0.684, allocations: 103.3 kB / 1.504 GB, free: 9.648 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.684, allocations: 0 / 1.504 GB, free: 9.648 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004796/0.6888, allocations: 1.73 MB / 1.506 GB, free: 7.914 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.008086/0.6969, allocations: 1.953 MB / 1.507 GB, free: 5.953 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007567/0.6976, allocations: 320.3 kB / 1.508 GB, free: 5.641 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6977, allocations: 0 / 1.508 GB, free: 5.641 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.698, allocations: 197.5 kB / 1.508 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.0005576/0.6985, allocations: 62.59 kB / 1.508 GB, free: 5.387 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.6999, allocations: 0.6844 MB / 1.509 GB, free: 4.676 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.7004, allocations: 0.766 MB / 1.509 GB, free: 3.883 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.7006, allocations: 55.34 kB / 1.509 GB, free: 3.828 MB / 1.201 GB Notification: Performance of SimCode: time 4.51e-07/0.7006, allocations: 0 / 1.509 GB, free: 3.828 MB / 1.201 GB Notification: Performance of Templates: time 0.05768/0.7583, allocations: 32.97 MB / 1.542 GB, free: 2.816 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] 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: 14.709201727993786]