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.001343/0.001343, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001571/0.001571, allocations: 171.5 kB / 24.87 MB, free: 9.258 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 0.9246/0.9246, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.87/1.87, allocations: 377.9 MB / 0.6247 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.623e-06/1.623e-06, allocations: 0 / 0.8128 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.841e-05, allocations: 3.312 kB / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01224/0.01226, allocations: 12.88 MB / 0.8254 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.01464, allocations: 2.78 MB / 0.8281 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.01473, allocations: 7.938 kB / 0.8281 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.01502, allocations: 47.67 kB / 0.8282 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.01529, allocations: 103.3 kB / 0.8283 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.01646, allocations: 0.5325 MB / 0.8288 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.01675, allocations: 235.8 kB / 0.829 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.0168, allocations: 13.8 kB / 0.829 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006056/0.02285, allocations: 3.638 MB / 0.8326 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.023, allocations: 79.77 kB / 0.8327 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.02302, allocations: 8 kB / 0.8327 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.02486, allocations: 1.038 MB / 0.8337 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.02494, allocations: 43.83 kB / 0.8337 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.02501, allocations: 63.88 kB / 0.8338 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.02554, allocations: 366.8 kB / 0.8341 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.02555, allocations: 0 / 0.8341 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.62e-07/0.02555, allocations: 3.938 kB / 0.8341 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.02555, allocations: 4 kB / 0.8341 GB, free: 11.5 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.0006141/0.02617, allocations: 0.5307 MB / 0.8347 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.0262, allocations: 8.031 kB / 0.8347 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.02635, allocations: 44.72 kB / 0.8347 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.02656, allocations: 164.4 kB / 0.8349 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.02658, allocations: 12.7 kB / 0.8349 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.0266, allocations: 20.31 kB / 0.8349 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.02687, allocations: 422.1 kB / 0.8353 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.02688, allocations: 4.125 kB / 0.8353 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.0269, allocations: 16.12 kB / 0.8353 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.02693, allocations: 4 kB / 0.8353 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.02715, allocations: 256.9 kB / 0.8356 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.0279, allocations: 0.9759 MB / 0.8365 GB, free: 8.879 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.02808, allocations: 119.9 kB / 0.8366 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.02813, allocations: 47.69 kB / 0.8367 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.02863, allocations: 0.5426 MB / 0.8372 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.02865, allocations: 33.39 kB / 0.8372 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.02865, allocations: 4 kB / 0.8372 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0002027/0.02886, allocations: 117.5 kB / 0.8374 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.02889, allocations: 51.41 kB / 0.8374 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.029, allocations: 220.8 kB / 0.8376 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.02902, allocations: 33.64 kB / 0.8377 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.02911, allocations: 194.8 kB / 0.8378 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.02913, allocations: 51.53 kB / 0.8379 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.02919, allocations: 71.28 kB / 0.838 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.02932, allocations: 0.4961 MB / 0.8384 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.02935, allocations: 23.97 kB / 0.8385 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.02946, allocations: 178.9 kB / 0.8386 GB, free: 6.535 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.02962, allocations: 225.2 kB / 0.8388 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.02962, allocations: 0 / 0.8388 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002009/0.02982, allocations: 185.3 kB / 0.839 GB, free: 6.062 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.02984, allocations: 6.656 kB / 0.839 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.02985, allocations: 4 kB / 0.839 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.02986, allocations: 4 kB / 0.839 GB, free: 6.051 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.02997, allocations: 67.84 kB / 0.8391 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.02998, allocations: 8.453 kB / 0.8391 GB, free: 5.977 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.03004, allocations: 31.77 kB / 0.8391 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.03006, allocations: 19.98 kB / 0.8392 GB, free: 5.926 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 9.149e-05/0.03015, allocations: 176.5 kB / 0.8393 GB, free: 5.742 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.03018, allocations: 19.91 kB / 0.8393 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.03039, allocations: 142 kB / 0.8395 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.03039, allocations: 4 kB / 0.8395 GB, free: 5.574 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.03039, allocations: 0 / 0.8395 GB, free: 5.574 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.0304, allocations: 0 / 0.8395 GB, free: 5.574 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.03054, allocations: 145 kB / 0.8396 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.03054, allocations: 0 / 0.8396 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.0306, allocations: 31.98 kB / 0.8397 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.0306, allocations: 0 / 0.8397 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.03061, allocations: 7.938 kB / 0.8397 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.03061, allocations: 4 kB / 0.8397 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.03061, allocations: 3.984 kB / 0.8397 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.03077, allocations: 257.5 kB / 0.8399 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.03082, allocations: 31.88 kB / 0.8399 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.03083, allocations: 4 kB / 0.84 GB, free: 5.055 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.03091, allocations: 7.984 kB / 0.84 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.03093, allocations: 15.98 kB / 0.84 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.03094, allocations: 15.98 kB / 0.84 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.03099, allocations: 143.2 kB / 0.8401 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.03099, allocations: 0 / 0.8401 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000262/0.03125, allocations: 83.75 kB / 0.8402 GB, free: 4.793 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.0002352/0.03149, allocations: 195 kB / 0.8404 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.03163, allocations: 100.8 kB / 0.8405 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.03163, allocations: 0 / 0.8405 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.03167, allocations: 51.53 kB / 0.8405 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.0319, allocations: 47.08 kB / 0.8406 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.03253, allocations: 319.1 kB / 0.8409 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.03257, allocations: 68 kB / 0.841 GB, free: 3.965 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.03267, allocations: 49.27 kB / 0.841 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.03284, allocations: 158.1 kB / 0.8411 GB, free: 3.762 MB / 0.7917 GB Notification: Performance of SimCode: time 5.31e-07/0.03284, allocations: 0 / 0.8411 GB, free: 3.762 MB / 0.7917 GB Notification: Performance of Templates: time 0.005169/0.03801, allocations: 3.802 MB / 0.8449 GB, free: 36 kB / 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.268193741329014]