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.001609/0.001609, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002374/0.002374, allocations: 157.6 kB / 23.01 MB, free: 4.602 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.675/2.675, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 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.002507/0.002507, allocations: 71.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3512, allocations: 169.9 MB / 1.117 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.771/1.122, allocations: 119.6 MB / 1.234 GB, free: 15 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03176/1.154, allocations: 20.21 MB / 1.254 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/1.154, allocations: 1.344 kB / 1.254 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003346/1.154, allocations: 50 kB / 1.254 GB, free: 2.461 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003703/1.155, allocations: 93.42 kB / 1.254 GB, free: 2.402 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.02603/1.181, allocations: 6.951 MB / 1.261 GB, free: 15.78 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005648/1.181, allocations: 252.1 kB / 1.261 GB, free: 15.67 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/1.182, allocations: 12.11 kB / 1.261 GB, free: 15.67 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/1.182, allocations: 141.5 kB / 1.261 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/1.182, allocations: 91.25 kB / 1.261 GB, free: 15.58 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/1.182, allocations: 12.52 kB / 1.261 GB, free: 15.57 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02937/1.212, allocations: 11.11 MB / 1.272 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/1.212, allocations: 43.5 kB / 1.272 GB, free: 13.05 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/1.212, allocations: 72.38 kB / 1.272 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01906/1.231, allocations: 6.487 MB / 1.279 GB, free: 9.379 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/1.231, allocations: 7.922 kB / 1.279 GB, free: 9.371 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.844e-06/1.231, allocations: 1.188 kB / 1.279 GB, free: 9.371 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.208e-06/1.231, allocations: 0 / 1.279 GB, free: 9.371 MB / 1.123 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.005268/1.236, allocations: 1.167 MB / 1.28 GB, free: 8.539 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.236, allocations: 9.625 kB / 1.28 GB, free: 8.539 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.237, allocations: 81.48 kB / 1.28 GB, free: 8.508 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/1.238, allocations: 165.5 kB / 1.28 GB, free: 8.336 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.238, allocations: 15.5 kB / 1.28 GB, free: 8.328 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/1.238, allocations: 21.5 kB / 1.28 GB, free: 8.316 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/1.239, allocations: 0.6662 MB / 1.281 GB, free: 7.781 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.239, allocations: 1.094 kB / 1.281 GB, free: 7.781 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/1.239, allocations: 6.344 kB / 1.281 GB, free: 7.777 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/1.239, allocations: 8.828 kB / 1.281 GB, free: 7.773 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/1.24, allocations: 0.6022 MB / 1.281 GB, free: 7.488 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.241, allocations: 0.7012 MB / 1.282 GB, free: 6.855 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/1.242, allocations: 236.2 kB / 1.282 GB, free: 6.727 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/1.242, allocations: 66.7 kB / 1.282 GB, free: 6.691 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09201/1.334, allocations: 23.36 MB / 1.305 GB, free: 7.641 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.334, allocations: 38.56 kB / 1.305 GB, free: 7.594 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/1.334, allocations: 4 kB / 1.305 GB, free: 7.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.001883/1.336, allocations: 420.2 kB / 1.306 GB, free: 7.176 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/1.336, allocations: 55.41 kB / 1.306 GB, free: 7.109 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/1.336, allocations: 128.7 kB / 1.306 GB, free: 6.977 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/1.336, allocations: 29.7 kB / 1.306 GB, free: 6.941 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/1.337, allocations: 108.6 kB / 1.306 GB, free: 6.828 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/1.337, allocations: 95.2 kB / 1.306 GB, free: 6.734 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/1.337, allocations: 77.62 kB / 1.306 GB, free: 6.652 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.337, allocations: 330.8 kB / 1.306 GB, free: 6.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/1.337, allocations: 83.94 kB / 1.306 GB, free: 6.238 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/1.337, allocations: 130.3 kB / 1.307 GB, free: 6.094 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/1.338, allocations: 224.4 kB / 1.307 GB, free: 5.859 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.338, allocations: 0 / 1.307 GB, free: 5.859 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008297/1.339, allocations: 293.3 kB / 1.307 GB, free: 5.566 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.339, allocations: 4.156 kB / 1.307 GB, free: 5.562 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.339, allocations: 8 kB / 1.307 GB, free: 5.555 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/1.339, allocations: 4 kB / 1.307 GB, free: 5.551 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/1.339, allocations: 79.88 kB / 1.307 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.339, allocations: 3.984 kB / 1.307 GB, free: 5.469 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/1.339, allocations: 25.78 kB / 1.307 GB, free: 5.445 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/1.339, allocations: 31.91 kB / 1.307 GB, free: 5.414 MB / 1.139 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.000161/1.339, allocations: 133.7 kB / 1.307 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/1.34, allocations: 15.89 kB / 1.307 GB, free: 5.258 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/1.343, allocations: 2.485 MB / 1.31 GB, free: 2.766 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.343, allocations: 15.98 kB / 1.31 GB, free: 2.75 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.343, allocations: 0 / 1.31 GB, free: 2.75 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.343, allocations: 0 / 1.31 GB, free: 2.75 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/1.347, allocations: 3.537 MB / 1.313 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.347, allocations: 0 / 1.313 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/1.347, allocations: 55.89 kB / 1.313 GB, free: 15.07 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/1.347, allocations: 3.984 kB / 1.313 GB, free: 15.06 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/1.347, allocations: 8 kB / 1.313 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.347, allocations: 0 / 1.313 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.347, allocations: 4 kB / 1.313 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/1.348, allocations: 0.5589 MB / 1.314 GB, free: 14.47 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/1.348, allocations: 63.58 kB / 1.314 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/1.348, allocations: 7.125 kB / 1.314 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/1.348, allocations: 15.98 kB / 1.314 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/1.348, allocations: 23.84 kB / 1.314 GB, free: 14.37 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/1.348, allocations: 15.98 kB / 1.314 GB, free: 14.35 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.62e-05/1.348, allocations: 95.27 kB / 1.314 GB, free: 14.26 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.348, allocations: 3.938 kB / 1.314 GB, free: 14.25 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006232/1.355, allocations: 1.715 MB / 1.316 GB, free: 12.54 MB / 1.154 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.01199/1.367, allocations: 1.959 MB / 1.318 GB, free: 10.57 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007804/1.367, allocations: 328.6 kB / 1.318 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.367, allocations: 0 / 1.318 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/1.368, allocations: 188.5 kB / 1.318 GB, free: 10.06 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/1.368, allocations: 43.95 kB / 1.318 GB, free: 10.02 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.369, allocations: 0.655 MB / 1.319 GB, free: 9.34 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/1.37, allocations: 156.7 kB / 1.319 GB, free: 9.168 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006081/1.37, allocations: 408.7 kB / 1.319 GB, free: 8.766 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/1.37, allocations: 44.48 kB / 1.319 GB, free: 8.723 MB / 1.154 GB Notification: Performance of SimCode: time 5.51e-07/1.37, allocations: 3.938 kB / 1.319 GB, free: 8.719 MB / 1.154 GB Notification: Performance of Templates: time 0.09017/1.461, allocations: 59.28 MB / 1.377 GB, free: 13.43 MB / 1.217 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 -s ida -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: 13.290798717061989]