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.001311/0.001311, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001436/0.001436, allocations: 211.9 kB / 23.04 MB, free: 4.863 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.099/3.099, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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: 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_12_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_12_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.002008/0.002008, allocations: 69.3 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3585, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1563/0.5148, allocations: 119.6 MB / 1.444 GB, free: 8.906 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02939/0.5441, allocations: 20.24 MB / 1.464 GB, free: 4.605 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.5443, allocations: 8 kB / 1.464 GB, free: 4.598 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.5446, allocations: 43.69 kB / 1.464 GB, free: 4.555 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.545, allocations: 95.36 kB / 1.464 GB, free: 4.461 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01843/0.5634, allocations: 6.939 MB / 1.471 GB, free: 13.53 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.5639, allocations: 255.9 kB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.5639, allocations: 5.75 kB / 1.471 GB, free: 13.27 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.5643, allocations: 147.4 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.5644, allocations: 87.66 kB / 1.471 GB, free: 13.04 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.5644, allocations: 8 kB / 1.471 GB, free: 13.03 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02239/0.5868, allocations: 11.12 MB / 1.482 GB, free: 1.895 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.587, allocations: 31.91 kB / 1.482 GB, free: 1.863 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.5871, allocations: 75.72 kB / 1.482 GB, free: 1.789 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.6041, allocations: 6.478 MB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.6041, allocations: 7.938 kB / 1.488 GB, free: 11.29 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6041, allocations: 0 / 1.488 GB, free: 11.29 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.6041, allocations: 0 / 1.488 GB, free: 11.29 MB / 1.186 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.004064/0.6082, allocations: 1.163 MB / 1.49 GB, free: 10.09 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6082, allocations: 12.03 kB / 1.49 GB, free: 10.08 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.6094, allocations: 80.77 kB / 1.49 GB, free: 10 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.6098, allocations: 174.3 kB / 1.49 GB, free: 9.805 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.6098, allocations: 12.12 kB / 1.49 GB, free: 9.793 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.6098, allocations: 20 kB / 1.49 GB, free: 9.773 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.6112, allocations: 0.6702 MB / 1.49 GB, free: 9.035 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6112, allocations: 0 / 1.49 GB, free: 9.035 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.6112, allocations: 8 kB / 1.491 GB, free: 9.027 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.6112, allocations: 11.92 kB / 1.491 GB, free: 9.016 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.6125, allocations: 0.601 MB / 1.491 GB, free: 8.414 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6136, allocations: 0.6997 MB / 1.492 GB, free: 7.672 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.6144, allocations: 235.4 kB / 1.492 GB, free: 7.434 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.6146, allocations: 68.83 kB / 1.492 GB, free: 7.363 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08492/0.6995, allocations: 23.36 MB / 1.515 GB, free: 15.96 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.6995, allocations: 42.5 kB / 1.515 GB, free: 15.91 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.6995, allocations: 0 / 1.515 GB, free: 15.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.00176/0.7013, allocations: 419.6 kB / 1.515 GB, free: 15.5 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.7013, allocations: 55.41 kB / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.7015, allocations: 127.6 kB / 1.516 GB, free: 15.3 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.7015, allocations: 33.7 kB / 1.516 GB, free: 15.26 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.7016, allocations: 112.5 kB / 1.516 GB, free: 15.15 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.7017, allocations: 91.16 kB / 1.516 GB, free: 15.06 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.7018, allocations: 81.66 kB / 1.516 GB, free: 14.97 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.702, allocations: 326.8 kB / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.7022, allocations: 83.95 kB / 1.516 GB, free: 14.56 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.7024, allocations: 129 kB / 1.516 GB, free: 14.42 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.7029, allocations: 219.7 kB / 1.517 GB, free: 14.19 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.7029, allocations: 4 kB / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008053/0.7037, allocations: 297.5 kB / 1.517 GB, free: 13.89 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7037, allocations: 5.875 kB / 1.517 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7037, allocations: 0 / 1.517 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.7038, allocations: 7.938 kB / 1.517 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.7041, allocations: 79.88 kB / 1.517 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7041, allocations: 4 kB / 1.517 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.7042, allocations: 19.84 kB / 1.517 GB, free: 13.77 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.7043, allocations: 27.98 kB / 1.517 GB, free: 13.75 MB / 1.217 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.0001623/0.7044, allocations: 134.2 kB / 1.517 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.7046, allocations: 15.91 kB / 1.517 GB, free: 13.59 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.7075, allocations: 2.479 MB / 1.52 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.7075, allocations: 19.91 kB / 1.52 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7075, allocations: 0 / 1.52 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7075, allocations: 0 / 1.52 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.7115, allocations: 3.536 MB / 1.523 GB, free: 7.445 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7115, allocations: 0 / 1.523 GB, free: 7.445 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.7117, allocations: 55.89 kB / 1.523 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.7117, allocations: 0 / 1.523 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.7118, allocations: 11.98 kB / 1.523 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7118, allocations: 0 / 1.523 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.7118, allocations: 7.938 kB / 1.523 GB, free: 7.371 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.7127, allocations: 0.5584 MB / 1.524 GB, free: 6.797 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.7128, allocations: 63.55 kB / 1.524 GB, free: 6.734 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.7128, allocations: 8 kB / 1.524 GB, free: 6.727 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.713, allocations: 11.98 kB / 1.524 GB, free: 6.715 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.7131, allocations: 19.91 kB / 1.524 GB, free: 6.695 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.7131, allocations: 12 kB / 1.524 GB, free: 6.684 MB / 1.217 GB Notification: Performance of sorting global known variables: time 7.659e-05/0.7132, allocations: 95.27 kB / 1.524 GB, free: 6.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7132, allocations: 3.938 kB / 1.524 GB, free: 6.586 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00506/0.7182, allocations: 1.723 MB / 1.525 GB, free: 4.859 MB / 1.217 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.008976/0.7272, allocations: 1.951 MB / 1.527 GB, free: 2.895 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008729/0.7281, allocations: 325.3 kB / 1.528 GB, free: 2.578 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7281, allocations: 3.938 kB / 1.528 GB, free: 2.574 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.7285, allocations: 197.2 kB / 1.528 GB, free: 2.383 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.7291, allocations: 51.95 kB / 1.528 GB, free: 2.332 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.7304, allocations: 0.6804 MB / 1.529 GB, free: 1.617 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.7306, allocations: 160.7 kB / 1.529 GB, free: 1.438 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.7308, allocations: 51.41 kB / 1.529 GB, free: 1.387 MB / 1.217 GB Notification: Performance of SimCode: time 1.122e-06/0.7308, allocations: 3.938 kB / 1.529 GB, free: 1.383 MB / 1.217 GB Notification: Performance of Templates: time 0.05846/0.7893, allocations: 32.91 MB / 1.561 GB, free: 440 kB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] 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: 14.277162302983925]