Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.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.001761/0.001761, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002054/0.002054, allocations: 159.7 kB / 23.01 MB, free: 4.949 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.661/2.661, allocations: 359.1 MB / 0.6044 GB, free: 14.89 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.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterProperties") [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.00217/0.00217, allocations: 75.88 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3228, allocations: 169.9 MB / 1.117 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007143/0.3299, allocations: 4.512 MB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003232/0.3332, allocations: 2.465 MB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3333, allocations: 4 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.3336, allocations: 47.67 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3339, allocations: 95.38 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3352, allocations: 0.5204 MB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3354, allocations: 232 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.3355, allocations: 9.75 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.3357, allocations: 127.5 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3358, allocations: 91.59 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3359, allocations: 8 kB / 1.125 GB, free: 10.44 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.3365, allocations: 311.4 kB / 1.126 GB, free: 10.13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.3365, allocations: 35.89 kB / 1.126 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.3366, allocations: 75.66 kB / 1.126 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.3372, allocations: 350.9 kB / 1.126 GB, free: 9.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3372, allocations: 0 / 1.126 GB, free: 9.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3372, allocations: 0 / 1.126 GB, free: 9.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.3372, allocations: 4 kB / 1.126 GB, free: 9.676 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000758/0.338, allocations: 449.4 kB / 1.127 GB, free: 9.203 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.338, allocations: 12.03 kB / 1.127 GB, free: 9.191 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.3382, allocations: 20.84 kB / 1.127 GB, free: 9.172 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.3385, allocations: 154.3 kB / 1.127 GB, free: 8.996 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3385, allocations: 12.7 kB / 1.127 GB, free: 8.984 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.3385, allocations: 20.38 kB / 1.127 GB, free: 8.965 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.339, allocations: 487.5 kB / 1.127 GB, free: 8.414 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.339, allocations: 4 kB / 1.127 GB, free: 8.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.3391, allocations: 15.95 kB / 1.127 GB, free: 8.395 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.3391, allocations: 8 kB / 1.127 GB, free: 8.387 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.3396, allocations: 419.4 kB / 1.128 GB, free: 7.977 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.3407, allocations: 0.7739 MB / 1.128 GB, free: 7.156 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.341, allocations: 148.8 kB / 1.129 GB, free: 7.004 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.3411, allocations: 56.88 kB / 1.129 GB, free: 6.945 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007312/0.3419, allocations: 447.9 kB / 1.129 GB, free: 6.488 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.3419, allocations: 50.42 kB / 1.129 GB, free: 6.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.3419, allocations: 0 / 1.129 GB, free: 6.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003297/0.3422, allocations: 137.5 kB / 1.129 GB, free: 6.289 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3423, allocations: 55.41 kB / 1.129 GB, free: 6.223 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3424, allocations: 164.8 kB / 1.129 GB, free: 6.055 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3424, allocations: 29.7 kB / 1.129 GB, free: 6.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3425, allocations: 152.1 kB / 1.13 GB, free: 5.867 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.3426, allocations: 55.52 kB / 1.13 GB, free: 5.812 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.3427, allocations: 57.66 kB / 1.13 GB, free: 5.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3428, allocations: 322.8 kB / 1.13 GB, free: 5.426 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.3429, allocations: 35.97 kB / 1.13 GB, free: 5.391 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.343, allocations: 146.3 kB / 1.13 GB, free: 5.199 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.3433, allocations: 200.1 kB / 1.13 GB, free: 4.957 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3433, allocations: 0 / 1.13 GB, free: 4.957 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003362/0.3436, allocations: 213.2 kB / 1.131 GB, free: 4.742 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3436, allocations: 4 kB / 1.131 GB, free: 4.738 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3437, allocations: 4 kB / 1.131 GB, free: 4.734 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3437, allocations: 4 kB / 1.131 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.3439, allocations: 68.38 kB / 1.131 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3439, allocations: 7.938 kB / 1.131 GB, free: 4.656 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.344, allocations: 31.78 kB / 1.131 GB, free: 4.625 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.344, allocations: 16 kB / 1.131 GB, free: 4.609 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001165/0.3441, allocations: 133.7 kB / 1.131 GB, free: 4.469 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.3442, allocations: 15.91 kB / 1.131 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.3445, allocations: 149.2 kB / 1.131 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3445, allocations: 4 kB / 1.131 GB, free: 4.301 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3445, allocations: 3.938 kB / 1.131 GB, free: 4.297 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3445, allocations: 0 / 1.131 GB, free: 4.297 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.3447, allocations: 161.2 kB / 1.131 GB, free: 4.109 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3447, allocations: 0 / 1.131 GB, free: 4.109 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3448, allocations: 35.92 kB / 1.131 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3449, allocations: 0 / 1.131 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3449, allocations: 3.984 kB / 1.131 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3449, allocations: 0 / 1.131 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3449, allocations: 4 kB / 1.131 GB, free: 4.066 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.3451, allocations: 219.4 kB / 1.131 GB, free: 3.836 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.3452, allocations: 27.88 kB / 1.131 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3452, allocations: 8 kB / 1.131 GB, free: 3.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3454, allocations: 11.98 kB / 1.131 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.3455, allocations: 23.95 kB / 1.131 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3455, allocations: 7.938 kB / 1.131 GB, free: 3.758 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.584e-05/0.3456, allocations: 118.4 kB / 1.132 GB, free: 3.645 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3456, allocations: 0 / 1.132 GB, free: 3.645 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003952/0.346, allocations: 83.81 kB / 1.132 GB, free: 3.562 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003055/0.3463, allocations: 187 kB / 1.132 GB, free: 3.371 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.3465, allocations: 111.8 kB / 1.132 GB, free: 3.262 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3465, allocations: 0 / 1.132 GB, free: 3.262 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.167e-05/0.3466, allocations: 43.91 kB / 1.132 GB, free: 3.219 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.347, allocations: 44.22 kB / 1.132 GB, free: 3.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.3477, allocations: 343.9 kB / 1.132 GB, free: 2.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3478, allocations: 102.9 kB / 1.132 GB, free: 2.699 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.3479, allocations: 41.34 kB / 1.133 GB, free: 2.652 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.348, allocations: 24.5 kB / 1.133 GB, free: 2.629 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.348, allocations: 4 kB / 1.133 GB, free: 2.625 MB / 1.076 GB Notification: Performance of Templates: time 0.5288/0.8768, allocations: 3.111 MB / 1.136 GB, free: 58.69 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.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: 8.790732813999057]