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.001887/0.001887, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.00196/0.00196, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.131/3.131, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8109 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.427e-05, allocations: 3.594 kB / 0.8109 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01998/0.02001, allocations: 12.97 MB / 0.8235 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.02382, allocations: 2.788 MB / 0.8262 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.02391, allocations: 7.938 kB / 0.8262 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.02421, allocations: 35.77 kB / 0.8263 GB, free: 2.289 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.0245, allocations: 107.2 kB / 0.8264 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.02585, allocations: 0.5286 MB / 0.8269 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.02617, allocations: 239.8 kB / 0.8271 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.02622, allocations: 5.812 kB / 0.8271 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009646/0.03587, allocations: 3.641 MB / 0.8307 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.03606, allocations: 79.77 kB / 0.8308 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.0361, allocations: 8 kB / 0.8308 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.03883, allocations: 1.034 MB / 0.8318 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.0389, allocations: 35.89 kB / 0.8318 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.03901, allocations: 71.81 kB / 0.8319 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.03978, allocations: 382.8 kB / 0.8323 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.03979, allocations: 0 / 0.8323 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.883e-06/0.03979, allocations: 7.938 kB / 0.8323 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.0398, allocations: 0 / 0.8323 GB, free: 12.13 MB / 0.7917 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.0009193/0.04071, allocations: 0.5307 MB / 0.8328 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.04075, allocations: 15.97 kB / 0.8328 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.04096, allocations: 40.72 kB / 0.8328 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.04121, allocations: 164.4 kB / 0.833 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.04123, allocations: 12.7 kB / 0.833 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.04128, allocations: 24.38 kB / 0.833 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.04182, allocations: 450 kB / 0.8335 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.04184, allocations: 12.06 kB / 0.8335 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.04187, allocations: 8.125 kB / 0.8335 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.0419, allocations: 8 kB / 0.8335 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/0.04242, allocations: 327.5 kB / 0.8338 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.04377, allocations: 1.01 MB / 0.8348 GB, free: 9.352 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.04415, allocations: 156 kB / 0.8349 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.04426, allocations: 63.59 kB / 0.835 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008912/0.04515, allocations: 0.5387 MB / 0.8355 GB, free: 8.562 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.04519, allocations: 41.39 kB / 0.8356 GB, free: 8.512 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.04519, allocations: 0 / 0.8356 GB, free: 8.512 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0003788/0.04557, allocations: 145.5 kB / 0.8357 GB, free: 8.363 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.04561, allocations: 55.41 kB / 0.8357 GB, free: 8.297 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.04581, allocations: 224.8 kB / 0.836 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.04584, allocations: 25.7 kB / 0.836 GB, free: 8.031 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.04597, allocations: 202.8 kB / 0.8362 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.04603, allocations: 55.53 kB / 0.8362 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.04611, allocations: 59.36 kB / 0.8363 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0005142/0.04663, allocations: 0.4961 MB / 0.8368 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.04671, allocations: 35.92 kB / 0.8368 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.04692, allocations: 188.9 kB / 0.837 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.04724, allocations: 238.8 kB / 0.8372 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.04724, allocations: 7.938 kB / 0.8372 GB, free: 6.602 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003977/0.04764, allocations: 231.1 kB / 0.8374 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.04766, allocations: 4 kB / 0.8374 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.04766, allocations: 4 kB / 0.8374 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.04769, allocations: 4 kB / 0.8375 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.04789, allocations: 60.39 kB / 0.8375 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.04791, allocations: 15.92 kB / 0.8375 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.04802, allocations: 27.78 kB / 0.8376 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.04805, allocations: 16 kB / 0.8376 GB, free: 6.242 MB / 0.7917 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.0001607/0.04821, allocations: 176.5 kB / 0.8377 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.04828, allocations: 15.91 kB / 0.8378 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.04862, allocations: 158.2 kB / 0.8379 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.04864, allocations: 0 / 0.8379 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.04864, allocations: 0 / 0.8379 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.04864, allocations: 7.922 kB / 0.8379 GB, free: 5.875 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.04891, allocations: 184.4 kB / 0.8381 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.04892, allocations: 0 / 0.8381 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.04903, allocations: 23.98 kB / 0.8381 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.04903, allocations: 4 kB / 0.8381 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.04905, allocations: 4 kB / 0.8381 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.04905, allocations: 0 / 0.8381 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.04905, allocations: 3.938 kB / 0.8381 GB, free: 5.625 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.0494, allocations: 274.9 kB / 0.8384 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-05/0.0495, allocations: 43.8 kB / 0.8384 GB, free: 5.297 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.04952, allocations: 0 / 0.8384 GB, free: 5.297 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.04968, allocations: 16 kB / 0.8384 GB, free: 5.281 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.04972, allocations: 11.97 kB / 0.8385 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.04974, allocations: 8 kB / 0.8385 GB, free: 5.262 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00012/0.04986, allocations: 157.6 kB / 0.8386 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.04986, allocations: 0 / 0.8386 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003999/0.05026, allocations: 75.88 kB / 0.8387 GB, free: 5.035 MB / 0.7917 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.0003613/0.05062, allocations: 195 kB / 0.8389 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.05089, allocations: 119.5 kB / 0.839 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.05089, allocations: 0 / 0.839 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.05098, allocations: 56.53 kB / 0.839 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.0514, allocations: 57.77 kB / 0.8391 GB, free: 4.598 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/0.05211, allocations: 315.1 kB / 0.8394 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.05222, allocations: 106.5 kB / 0.8395 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.05238, allocations: 45.28 kB / 0.8395 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.05242, allocations: 24.44 kB / 0.8396 GB, free: 4.074 MB / 0.7917 GB Notification: Performance of SimCode: time 6.11e-07/0.05243, allocations: 0 / 0.8396 GB, free: 4.074 MB / 0.7917 GB Notification: Performance of Templates: time 0.008285/0.06071, allocations: 3.379 MB / 0.8429 GB, free: 0.7734 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] 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/jenkins/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.37100508902222]