Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001428/0.001428, allocations: 102.1 kB / 19.7 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.001566/0.001566, allocations: 220.6 kB / 23.01 MB, free: 4.609 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.317/1.317, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.897/2.897, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001885/0.001885, allocations: 62.88 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2868, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01612/0.3029, allocations: 13.21 MB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.3058, allocations: 2.675 MB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.3058, allocations: 8 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.3061, allocations: 47.67 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.3063, allocations: 103.3 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3073, allocations: 0.5161 MB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.3076, allocations: 243.8 kB / 1.371 GB, free: 7.082 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.3076, allocations: 17.72 kB / 1.371 GB, free: 7.066 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006771/0.3144, allocations: 3.589 MB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3146, allocations: 91.64 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3146, allocations: 8 kB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.3167, allocations: 1.122 MB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.3167, allocations: 43.83 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.3168, allocations: 75.66 kB / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.3174, allocations: 378.8 kB / 1.376 GB, free: 1.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3174, allocations: 0 / 1.376 GB, free: 1.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3174, allocations: 0 / 1.376 GB, free: 1.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3174, allocations: 3.938 kB / 1.376 GB, free: 1.746 MB / 1.061 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.0006999/0.3181, allocations: 441.4 kB / 1.376 GB, free: 1.285 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.3181, allocations: 19.91 kB / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.3183, allocations: 28.83 kB / 1.376 GB, free: 1.238 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.3185, allocations: 158.3 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3185, allocations: 8.703 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3185, allocations: 16.38 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.3189, allocations: 256.1 kB / 1.377 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3189, allocations: 0 / 1.377 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.3189, allocations: 15.94 kB / 1.377 GB, free: 0.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.3189, allocations: 8 kB / 1.377 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.3194, allocations: 439.5 kB / 1.377 GB, free: 320 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3206, allocations: 0.9402 MB / 1.378 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.3208, allocations: 148.8 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.3209, allocations: 60.81 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007087/0.3216, allocations: 475.8 kB / 1.379 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3217, allocations: 34.56 kB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.3217, allocations: 0 / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.000309/0.322, allocations: 147.2 kB / 1.379 GB, free: 14.4 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.322, allocations: 55.34 kB / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3222, allocations: 176.3 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.3222, allocations: 29.7 kB / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.3223, allocations: 148 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.3223, allocations: 59.52 kB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.3224, allocations: 53.7 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3225, allocations: 322.8 kB / 1.38 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.3226, allocations: 39.97 kB / 1.38 GB, free: 13.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3227, allocations: 133.7 kB / 1.38 GB, free: 13.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.323, allocations: 201.4 kB / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.323, allocations: 4 kB / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000319/0.3233, allocations: 212 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3233, allocations: 10.19 kB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3233, allocations: 4 kB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3233, allocations: 4 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3235, allocations: 55.86 kB / 1.38 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3235, allocations: 15.92 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3236, allocations: 27.78 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3236, allocations: 8 kB / 1.38 GB, free: 12.72 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.0001101/0.3237, allocations: 142 kB / 1.38 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.3238, allocations: 15.91 kB / 1.38 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.3241, allocations: 162.8 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3241, allocations: 11.94 kB / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3241, allocations: 0 / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3241, allocations: 0 / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3243, allocations: 188.6 kB / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3243, allocations: 0 / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/0.3244, allocations: 23.94 kB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3244, allocations: 0 / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3244, allocations: 15.98 kB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3245, allocations: 7.922 kB / 1.381 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3245, allocations: 0 / 1.381 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.3247, allocations: 217.3 kB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.3248, allocations: 39.8 kB / 1.381 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.3248, allocations: 4 kB / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.325, allocations: 15.92 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.325, allocations: 15.98 kB / 1.381 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.325, allocations: 8 kB / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.793e-05/0.3251, allocations: 127.9 kB / 1.381 GB, free: 11.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3251, allocations: 0 / 1.381 GB, free: 11.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003464/0.3255, allocations: 71.88 kB / 1.381 GB, free: 11.6 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.0002729/0.3257, allocations: 187 kB / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3259, allocations: 111.7 kB / 1.382 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3259, allocations: 0.9375 kB / 1.382 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.326, allocations: 39.92 kB / 1.382 GB, free: 11.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3264, allocations: 55.89 kB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.327, allocations: 385.7 kB / 1.382 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3274, allocations: 0.7128 MB / 1.383 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.3274, allocations: 23.44 kB / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.3274, allocations: 3.938 kB / 1.383 GB, free: 10.03 MB / 1.076 GB Notification: Performance of Templates: time 0.005423/0.3328, allocations: 3.488 MB / 1.386 GB, free: 6.566 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.23038751099375]