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.001391/0.001391, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001789/0.001789, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.883/1.883, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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 2.554e-06/2.554e-06, allocations: 0 / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.837e-05/6.092e-05, allocations: 3.062 kB / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01509/0.01515, allocations: 13.01 MB / 0.8243 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.01729, allocations: 2.784 MB / 0.827 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.951e-05/0.01739, allocations: 0 / 0.827 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.01767, allocations: 47.64 kB / 0.827 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.01792, allocations: 99.28 kB / 0.8271 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.01897, allocations: 0.5248 MB / 0.8277 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.01923, allocations: 243.7 kB / 0.8279 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.01927, allocations: 17.8 kB / 0.8279 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006208/0.02548, allocations: 3.632 MB / 0.8314 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.02565, allocations: 79.77 kB / 0.8315 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.02568, allocations: 8 kB / 0.8315 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.02768, allocations: 1.038 MB / 0.8325 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.888e-05/0.02775, allocations: 47.88 kB / 0.8326 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.02783, allocations: 63.83 kB / 0.8327 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.02843, allocations: 362.8 kB / 0.833 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.02844, allocations: 0 / 0.833 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.673e-06/0.02844, allocations: 0 / 0.833 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.02844, allocations: 0 / 0.833 GB, free: 12.04 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.0007021/0.02914, allocations: 0.5385 MB / 0.8335 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.02919, allocations: 8.031 kB / 0.8335 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.02938, allocations: 40.72 kB / 0.8336 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.02959, allocations: 168.4 kB / 0.8337 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.02961, allocations: 12.7 kB / 0.8337 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.02963, allocations: 20.38 kB / 0.8338 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.02998, allocations: 438.1 kB / 0.8342 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.02999, allocations: 192 / 0.8342 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.03001, allocations: 16.11 kB / 0.8342 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.03005, allocations: 4 kB / 0.8342 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.03031, allocations: 300 kB / 0.8345 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.03117, allocations: 0.991 MB / 0.8355 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.03141, allocations: 147.9 kB / 0.8356 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.03147, allocations: 47.7 kB / 0.8356 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005173/0.03199, allocations: 0.5348 MB / 0.8362 GB, free: 8.566 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.03201, allocations: 33.39 kB / 0.8362 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.03202, allocations: 0 / 0.8362 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0002535/0.03227, allocations: 133.5 kB / 0.8363 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.0323, allocations: 63.28 kB / 0.8364 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.03242, allocations: 220.8 kB / 0.8366 GB, free: 8.082 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.03243, allocations: 25.7 kB / 0.8366 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.03251, allocations: 194.8 kB / 0.8368 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.03254, allocations: 59.52 kB / 0.8369 GB, free: 7.793 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.0326, allocations: 59.31 kB / 0.8369 GB, free: 7.727 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.03272, allocations: 0.5 MB / 0.8374 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.03276, allocations: 23.98 kB / 0.8374 GB, free: 7.191 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.03288, allocations: 183 kB / 0.8376 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.03306, allocations: 236.7 kB / 0.8378 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.03306, allocations: 4 kB / 0.8378 GB, free: 6.645 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002289/0.03329, allocations: 197.3 kB / 0.838 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.0333, allocations: 8 kB / 0.838 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.03331, allocations: 4.469 kB / 0.838 GB, free: 6.434 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.03333, allocations: 11.94 kB / 0.838 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.03345, allocations: 59.91 kB / 0.8381 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.03346, allocations: 8 kB / 0.8381 GB, free: 6.355 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.03353, allocations: 27.78 kB / 0.8381 GB, free: 6.328 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.03354, allocations: 8 kB / 0.8381 GB, free: 6.32 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 8.627e-05/0.03362, allocations: 176.5 kB / 0.8383 GB, free: 6.137 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.03367, allocations: 23.91 kB / 0.8383 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.0339, allocations: 144.8 kB / 0.8385 GB, free: 5.969 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.03391, allocations: 3.984 kB / 0.8385 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.03391, allocations: 7.984 kB / 0.8385 GB, free: 5.957 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.03391, allocations: 0 / 0.8385 GB, free: 5.957 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.03407, allocations: 176.4 kB / 0.8386 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.03407, allocations: 0 / 0.8386 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.03414, allocations: 27.98 kB / 0.8387 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.03414, allocations: 0 / 0.8387 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.03415, allocations: 4 kB / 0.8387 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.03415, allocations: 0 / 0.8387 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.03415, allocations: 4 kB / 0.8387 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.03433, allocations: 259.7 kB / 0.8389 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.03438, allocations: 39.86 kB / 0.839 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.0344, allocations: 4 kB / 0.839 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.03448, allocations: 11.98 kB / 0.839 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.03451, allocations: 15.91 kB / 0.839 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.03452, allocations: 12 kB / 0.839 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.03458, allocations: 147.2 kB / 0.8392 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.03458, allocations: 0 / 0.8392 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003054/0.03488, allocations: 91.75 kB / 0.8392 GB, free: 5.125 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.000283/0.03517, allocations: 179.1 kB / 0.8394 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.03534, allocations: 108.2 kB / 0.8395 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03535, allocations: 0 / 0.8395 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.03539, allocations: 57.12 kB / 0.8396 GB, free: 4.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.03565, allocations: 49.97 kB / 0.8396 GB, free: 4.723 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.03643, allocations: 323.1 kB / 0.8399 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.258e-05/0.03648, allocations: 72 kB / 0.84 GB, free: 4.289 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.03659, allocations: 57.19 kB / 0.84 GB, free: 4.234 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.03663, allocations: 20.5 kB / 0.8401 GB, free: 4.215 MB / 0.7917 GB Notification: Performance of SimCode: time 7.61e-07/0.03663, allocations: 0 / 0.8401 GB, free: 4.215 MB / 0.7917 GB Notification: Performance of Templates: time 0.005706/0.04233, allocations: 3.387 MB / 0.8434 GB, free: 0.9062 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","",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.3096667809877545]