Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001597/0.001597, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001531/0.001531, allocations: 213.8 kB / 22.99 MB, free: 4.957 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Specialized.Water.Examples.WaterProperties_pT,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_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [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.002004/0.002004, allocations: 66.02 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01643/0.319, allocations: 11.95 MB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003046/0.3221, allocations: 2.407 MB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.3221, allocations: 4 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.3224, allocations: 43.69 kB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.3227, allocations: 103.4 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.3239, allocations: 0.5278 MB / 1.342 GB, free: 1.859 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.3242, allocations: 232 kB / 1.342 GB, free: 1.633 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.3243, allocations: 5.75 kB / 1.342 GB, free: 1.621 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007583/0.3318, allocations: 3.585 MB / 1.346 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.332, allocations: 99.64 kB / 1.346 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.332, allocations: 8 kB / 1.346 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.3345, allocations: 1.038 MB / 1.347 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.3345, allocations: 35.89 kB / 1.347 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.3346, allocations: 67.72 kB / 1.347 GB, free: 12.78 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.3352, allocations: 374.8 kB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3352, allocations: 0 / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3352, allocations: 0 / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3352, allocations: 0 / 1.347 GB, free: 12.41 MB / 1.045 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.0007949/0.336, allocations: 449.4 kB / 1.348 GB, free: 11.94 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3361, allocations: 8.031 kB / 1.348 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3362, allocations: 24.84 kB / 1.348 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3365, allocations: 154.3 kB / 1.348 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3366, allocations: 16.69 kB / 1.348 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3366, allocations: 16.38 kB / 1.348 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.3371, allocations: 499.3 kB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3371, allocations: 0 / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.3372, allocations: 12 kB / 1.348 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.3372, allocations: 8 kB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.3377, allocations: 415.5 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3389, allocations: 0.7857 MB / 1.349 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3392, allocations: 154 kB / 1.35 GB, free: 9.727 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3393, allocations: 52.89 kB / 1.35 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/0.3401, allocations: 455.9 kB / 1.35 GB, free: 9.207 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3401, allocations: 38.56 kB / 1.35 GB, free: 9.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.3401, allocations: 0 / 1.35 GB, free: 9.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003699/0.3405, allocations: 145.4 kB / 1.35 GB, free: 9.012 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3406, allocations: 51.41 kB / 1.35 GB, free: 8.949 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3407, allocations: 168.6 kB / 1.35 GB, free: 8.777 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.3408, allocations: 33.7 kB / 1.35 GB, free: 8.738 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3409, allocations: 152.1 kB / 1.351 GB, free: 8.586 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.3409, allocations: 55.52 kB / 1.351 GB, free: 8.531 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.341, allocations: 53.66 kB / 1.351 GB, free: 8.473 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3412, allocations: 322.8 kB / 1.351 GB, free: 8.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.3412, allocations: 31.98 kB / 1.351 GB, free: 8.117 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3414, allocations: 145.7 kB / 1.351 GB, free: 7.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3416, allocations: 195.2 kB / 1.351 GB, free: 7.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3416, allocations: 7.938 kB / 1.351 GB, free: 7.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003569/0.342, allocations: 209.2 kB / 1.352 GB, free: 7.469 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.342, allocations: 15.92 kB / 1.352 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.342, allocations: 4 kB / 1.352 GB, free: 7.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.342, allocations: 8 kB / 1.352 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.3422, allocations: 52.39 kB / 1.352 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.3423, allocations: 23.86 kB / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3424, allocations: 27.78 kB / 1.352 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3424, allocations: 12 kB / 1.352 GB, free: 7.328 MB / 1.045 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.000118/0.3425, allocations: 130.3 kB / 1.352 GB, free: 7.191 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.3426, allocations: 15.91 kB / 1.352 GB, free: 7.176 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.3429, allocations: 157 kB / 1.352 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3429, allocations: 3.984 kB / 1.352 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3429, allocations: 7.938 kB / 1.352 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3429, allocations: 3.984 kB / 1.352 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.3432, allocations: 157.2 kB / 1.352 GB, free: 6.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3432, allocations: 0 / 1.352 GB, free: 6.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.3433, allocations: 27.98 kB / 1.352 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3433, allocations: 0 / 1.352 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3433, allocations: 8 kB / 1.352 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3433, allocations: 0 / 1.352 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3433, allocations: 0 / 1.352 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.3436, allocations: 215.3 kB / 1.352 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.3437, allocations: 39.81 kB / 1.352 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3437, allocations: 0 / 1.352 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3439, allocations: 19.98 kB / 1.352 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.3439, allocations: 7.984 kB / 1.352 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.3439, allocations: 19.92 kB / 1.353 GB, free: 6.473 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.592e-05/0.344, allocations: 107.2 kB / 1.353 GB, free: 6.367 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.344, allocations: 0 / 1.353 GB, free: 6.367 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003901/0.3444, allocations: 79.83 kB / 1.353 GB, free: 6.289 MB / 1.045 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.0003204/0.3447, allocations: 198.9 kB / 1.353 GB, free: 6.086 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.345, allocations: 110 kB / 1.353 GB, free: 5.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.345, allocations: 0 / 1.353 GB, free: 5.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.3451, allocations: 40.86 kB / 1.353 GB, free: 5.941 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3455, allocations: 51.89 kB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/0.3462, allocations: 340.2 kB / 1.353 GB, free: 5.531 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3463, allocations: 110.5 kB / 1.353 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.3464, allocations: 53.25 kB / 1.354 GB, free: 5.348 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.3465, allocations: 23.44 kB / 1.354 GB, free: 5.324 MB / 1.045 GB Notification: Performance of SimCode: time 3.5e-07/0.3465, allocations: 0 / 1.354 GB, free: 5.324 MB / 1.045 GB Notification: Performance of Templates: time 0.007745/0.3542, allocations: 3.597 MB / 1.357 GB, free: 1.793 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.548621788999299]