Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001444/0.001444, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001633/0.001633, allocations: 220.3 kB / 23 MB, free: 4.914 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.761/2.761, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 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.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_11_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_11_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.002177/0.002177, allocations: 64.64 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3432, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01805/0.3613, allocations: 11.95 MB / 1.296 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.3645, allocations: 2.414 MB / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3646, allocations: 0 / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.3649, allocations: 43.69 kB / 1.298 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.3653, allocations: 107.3 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.3667, allocations: 0.5225 MB / 1.299 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.367, allocations: 235.9 kB / 1.299 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.3671, allocations: 13.73 kB / 1.299 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008292/0.3754, allocations: 3.579 MB / 1.302 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.3756, allocations: 83.66 kB / 1.302 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3756, allocations: 8 kB / 1.302 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.3782, allocations: 1.04 MB / 1.303 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.3783, allocations: 35.89 kB / 1.303 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3784, allocations: 71.72 kB / 1.303 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007646/0.3791, allocations: 366.8 kB / 1.304 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3791, allocations: 0 / 1.304 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3791, allocations: 0 / 1.304 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3792, allocations: 0 / 1.304 GB, free: 7.406 MB / 0.9981 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.0008247/0.38, allocations: 449.4 kB / 1.304 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.38, allocations: 8.031 kB / 1.304 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.3802, allocations: 24.84 kB / 1.304 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.3805, allocations: 162.3 kB / 1.304 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3805, allocations: 8.703 kB / 1.304 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3806, allocations: 20.36 kB / 1.304 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.3811, allocations: 495.3 kB / 1.305 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3811, allocations: 0 / 1.305 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.3812, allocations: 12 kB / 1.305 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.3812, allocations: 4 kB / 1.305 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.3818, allocations: 419.5 kB / 1.305 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.383, allocations: 0.7896 MB / 1.306 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.3833, allocations: 155.1 kB / 1.306 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3835, allocations: 54.14 kB / 1.306 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008319/0.3843, allocations: 467.8 kB / 1.307 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.3843, allocations: 34.56 kB / 1.307 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3843, allocations: 0 / 1.307 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003652/0.3847, allocations: 149.5 kB / 1.307 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3847, allocations: 55.34 kB / 1.307 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3849, allocations: 168.5 kB / 1.307 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.3849, allocations: 25.7 kB / 1.307 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.385, allocations: 152 kB / 1.307 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.3851, allocations: 55.53 kB / 1.307 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.3852, allocations: 49.7 kB / 1.307 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3854, allocations: 326.8 kB / 1.308 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.3854, allocations: 35.92 kB / 1.308 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.3856, allocations: 139 kB / 1.308 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.3859, allocations: 200.2 kB / 1.308 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3859, allocations: 0 / 1.308 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003658/0.3862, allocations: 213.6 kB / 1.308 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3863, allocations: 18.05 kB / 1.308 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3863, allocations: 0 / 1.308 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3863, allocations: 8 kB / 1.308 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.3865, allocations: 55.92 kB / 1.308 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.3865, allocations: 19.84 kB / 1.308 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.3866, allocations: 27.78 kB / 1.308 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.3866, allocations: 16 kB / 1.308 GB, free: 2.309 MB / 0.9981 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.0001175/0.3868, allocations: 125.8 kB / 1.309 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3868, allocations: 15.91 kB / 1.309 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.3871, allocations: 156.9 kB / 1.309 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3872, allocations: 4 kB / 1.309 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3872, allocations: 7.922 kB / 1.309 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3872, allocations: 0 / 1.309 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.3874, allocations: 157.2 kB / 1.309 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3874, allocations: 0 / 1.309 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.3875, allocations: 35.92 kB / 1.309 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3875, allocations: 0 / 1.309 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3875, allocations: 0 / 1.309 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3875, allocations: 4 kB / 1.309 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3875, allocations: 0 / 1.309 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.3878, allocations: 223.3 kB / 1.309 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.3879, allocations: 31.81 kB / 1.309 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.3879, allocations: 15.98 kB / 1.309 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3881, allocations: 11.98 kB / 1.309 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.3882, allocations: 11.98 kB / 1.309 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3882, allocations: 15.92 kB / 1.309 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.3883, allocations: 116.2 kB / 1.309 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3883, allocations: 0 / 1.309 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004105/0.3887, allocations: 75.88 kB / 1.309 GB, free: 1.258 MB / 0.9981 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.0003702/0.3891, allocations: 186.9 kB / 1.31 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3893, allocations: 116.6 kB / 1.31 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3893, allocations: 4 kB / 1.31 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.3894, allocations: 39.3 kB / 1.31 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3898, allocations: 39.97 kB / 1.31 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.3906, allocations: 377.9 kB / 1.31 GB, free: 488 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.3907, allocations: 102.5 kB / 1.31 GB, free: 364 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.3908, allocations: 31.42 kB / 1.31 GB, free: 332 kB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3908, allocations: 0 / 1.31 GB, free: 332 kB / 0.9981 GB Notification: Performance of Templates: time 0.00628/0.397, allocations: 3.38 MB / 1.314 GB, free: 12.96 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.543267282191664]