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.001454/0.001454, 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.001572/0.001572, allocations: 220.6 kB / 23.01 MB, free: 4.605 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 179] 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 2.863/2.863, allocations: 0.49 GB / 0.7958 GB, free: 33.45 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.001859/0.001859, allocations: 69.78 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2841, allocations: 176.1 MB / 1.327 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0159/0.3, allocations: 13.21 MB / 1.34 GB, free: 4.121 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.3029, allocations: 2.679 MB / 1.343 GB, free: 1.434 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.303, allocations: 4 kB / 1.343 GB, free: 1.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.3032, allocations: 47.67 kB / 1.343 GB, free: 1.383 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.3034, allocations: 99.36 kB / 1.343 GB, free: 1.285 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3045, allocations: 0.5287 MB / 1.343 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000254/0.3047, allocations: 235.9 kB / 1.344 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.3048, allocations: 9.75 kB / 1.344 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00709/0.3119, allocations: 3.599 MB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.312, allocations: 87.66 kB / 1.347 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.312, allocations: 8 kB / 1.347 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.3143, allocations: 1.116 MB / 1.348 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.3143, allocations: 43.83 kB / 1.348 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.3144, allocations: 83.64 kB / 1.348 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000553/0.315, allocations: 378.7 kB / 1.349 GB, free: 11.19 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.315, allocations: 0 / 1.349 GB, free: 11.19 MB / 1.045 GB Notification: Performance of FrontEnd: time 7.82e-07/0.315, allocations: 4 kB / 1.349 GB, free: 11.19 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.315, allocations: 0 / 1.349 GB, free: 11.19 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.0006889/0.3157, allocations: 445.4 kB / 1.349 GB, free: 10.72 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3157, allocations: 16.02 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3159, allocations: 20.84 kB / 1.349 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.3161, allocations: 158.3 kB / 1.349 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3161, allocations: 12.7 kB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3162, allocations: 16.38 kB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.3165, allocations: 260 kB / 1.35 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3165, allocations: 0 / 1.35 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.3166, allocations: 15.94 kB / 1.35 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.3166, allocations: 11.98 kB / 1.35 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.3171, allocations: 439.5 kB / 1.35 GB, free: 9.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3182, allocations: 0.9402 MB / 1.351 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3184, allocations: 147.6 kB / 1.351 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/0.3185, allocations: 56.84 kB / 1.351 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.3192, allocations: 471.8 kB / 1.352 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3193, allocations: 30.56 kB / 1.352 GB, free: 7.996 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3193, allocations: 0 / 1.352 GB, free: 7.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.000329/0.3196, allocations: 157.4 kB / 1.352 GB, free: 7.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3196, allocations: 55.34 kB / 1.352 GB, free: 7.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3198, allocations: 175.9 kB / 1.352 GB, free: 7.586 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.3198, allocations: 29.7 kB / 1.352 GB, free: 7.551 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.3199, allocations: 144.1 kB / 1.352 GB, free: 7.406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.3199, allocations: 51.58 kB / 1.352 GB, free: 7.355 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.32, allocations: 57.66 kB / 1.352 GB, free: 7.293 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3201, allocations: 322.8 kB / 1.353 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.3202, allocations: 35.98 kB / 1.353 GB, free: 6.934 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3204, allocations: 141.7 kB / 1.353 GB, free: 6.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.3206, allocations: 200.1 kB / 1.353 GB, free: 6.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3206, allocations: 8 kB / 1.353 GB, free: 6.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003305/0.3209, allocations: 205.2 kB / 1.353 GB, free: 6.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3209, allocations: 8 kB / 1.353 GB, free: 6.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3209, allocations: 4.469 kB / 1.353 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.321, allocations: 8 kB / 1.353 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3211, allocations: 55.84 kB / 1.353 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3211, allocations: 11.94 kB / 1.353 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3212, allocations: 27.78 kB / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3213, allocations: 16 kB / 1.353 GB, free: 6.16 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.0001092/0.3214, allocations: 134.2 kB / 1.353 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.3214, allocations: 15.91 kB / 1.353 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.3217, allocations: 154.8 kB / 1.354 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3217, allocations: 11.94 kB / 1.354 GB, free: 5.836 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3217, allocations: 3.938 kB / 1.354 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3217, allocations: 0 / 1.354 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.322, allocations: 188.6 kB / 1.354 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.322, allocations: 0 / 1.354 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.322, allocations: 31.92 kB / 1.354 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3221, allocations: 0 / 1.354 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3221, allocations: 4 kB / 1.354 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.3221, allocations: 3.938 kB / 1.354 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3221, allocations: 0 / 1.354 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3223, allocations: 238.6 kB / 1.354 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3224, allocations: 39.8 kB / 1.354 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3224, allocations: 0 / 1.354 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.3226, allocations: 19.92 kB / 1.354 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.3226, allocations: 7.984 kB / 1.354 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3226, allocations: 15.98 kB / 1.354 GB, free: 5.238 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.715e-05/0.3227, allocations: 116 kB / 1.354 GB, free: 5.125 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3227, allocations: 0 / 1.354 GB, free: 5.125 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003537/0.3231, allocations: 83.88 kB / 1.354 GB, free: 5.043 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.000276/0.3234, allocations: 179 kB / 1.355 GB, free: 4.855 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3236, allocations: 119.7 kB / 1.355 GB, free: 4.738 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3236, allocations: 0 / 1.355 GB, free: 4.738 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.3236, allocations: 39.92 kB / 1.355 GB, free: 4.699 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.3241, allocations: 62.7 kB / 1.355 GB, free: 4.641 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.3247, allocations: 377.7 kB / 1.355 GB, free: 4.238 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.325, allocations: 0.7168 MB / 1.356 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.3251, allocations: 27.44 kB / 1.356 GB, free: 3.469 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3251, allocations: 4 kB / 1.356 GB, free: 3.465 MB / 1.045 GB Notification: Performance of Templates: time 0.005392/0.3305, allocations: 3.478 MB / 1.359 GB, free: 8 kB / 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 -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: 10.261215756996535]