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.001177/0.001177, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009891/0.0009891, allocations: 181 kB / 24.09 MB, free: 416 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 0.9751/0.9751, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.804/1.804, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.523e-06/1.523e-06, allocations: 0 / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.802e-05, allocations: 4.375 kB / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01089/0.01091, allocations: 12.88 MB / 0.8246 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.01279, allocations: 2.784 MB / 0.8274 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.01286, allocations: 4 kB / 0.8274 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.01309, allocations: 47.62 kB / 0.8274 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.01329, allocations: 91.36 kB / 0.8275 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008824/0.01418, allocations: 0.5325 MB / 0.828 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.01438, allocations: 243.8 kB / 0.8282 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.01441, allocations: 17.73 kB / 0.8283 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.0193, allocations: 3.634 MB / 0.8318 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.01941, allocations: 79.77 kB / 0.8319 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.01943, allocations: 8 kB / 0.8319 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.02093, allocations: 1.046 MB / 0.8329 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.02098, allocations: 43.83 kB / 0.833 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.02103, allocations: 59.89 kB / 0.833 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.02145, allocations: 366.8 kB / 0.8334 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.02146, allocations: 0 / 0.8334 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.753e-06/0.02146, allocations: 0 / 0.8334 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.02146, allocations: 0 / 0.8334 GB, free: 11.53 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.0005292/0.02199, allocations: 0.5345 MB / 0.8339 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.02202, allocations: 8.031 kB / 0.8339 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.02214, allocations: 48.72 kB / 0.8339 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.02229, allocations: 164.4 kB / 0.8341 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.0223, allocations: 12.7 kB / 0.8341 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.02232, allocations: 20.36 kB / 0.8341 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.02258, allocations: 414.1 kB / 0.8345 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.02259, allocations: 192 / 0.8345 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.02261, allocations: 16.12 kB / 0.8345 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.02263, allocations: 11.98 kB / 0.8346 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.02295, allocations: 260.9 kB / 0.8348 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.02378, allocations: 0.972 MB / 0.8357 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.02397, allocations: 126.4 kB / 0.8359 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.02402, allocations: 39.72 kB / 0.8359 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005347/0.02455, allocations: 0.5587 MB / 0.8365 GB, free: 8.148 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.02458, allocations: 37.39 kB / 0.8365 GB, free: 8.102 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 2.013e-06/0.02458, allocations: 4 kB / 0.8365 GB, free: 8.098 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0002268/0.02481, allocations: 117.5 kB / 0.8366 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.02484, allocations: 55.41 kB / 0.8367 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.02496, allocations: 213.9 kB / 0.8369 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.02498, allocations: 33.7 kB / 0.8369 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.02506, allocations: 194.8 kB / 0.8371 GB, free: 7.445 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.02509, allocations: 55.52 kB / 0.8371 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.02514, allocations: 63.28 kB / 0.8372 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.02526, allocations: 0.4961 MB / 0.8377 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.02529, allocations: 19.98 kB / 0.8377 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.02538, allocations: 186.9 kB / 0.8379 GB, free: 6.543 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.02553, allocations: 224.7 kB / 0.8381 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.02554, allocations: 0 / 0.8381 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002714/0.02581, allocations: 192.1 kB / 0.8383 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.02582, allocations: 8 kB / 0.8383 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.02583, allocations: 7.938 kB / 0.8383 GB, free: 6.051 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.02585, allocations: 4 kB / 0.8383 GB, free: 6.047 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.02596, allocations: 59.91 kB / 0.8383 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.02597, allocations: 8 kB / 0.8384 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.02603, allocations: 27.78 kB / 0.8384 GB, free: 5.953 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.02604, allocations: 16 kB / 0.8384 GB, free: 5.938 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.695e-05/0.02613, allocations: 172.4 kB / 0.8386 GB, free: 5.758 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.02617, allocations: 31.98 kB / 0.8386 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.02637, allocations: 134.1 kB / 0.8387 GB, free: 5.59 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.02638, allocations: 7.969 kB / 0.8387 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.02638, allocations: 0 / 0.8387 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.02639, allocations: 4 kB / 0.8387 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.02654, allocations: 141 kB / 0.8389 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02655, allocations: 0 / 0.8389 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.02661, allocations: 27.98 kB / 0.8389 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.02661, allocations: 0 / 0.8389 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.02662, allocations: 8 kB / 0.8389 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.02662, allocations: 0 / 0.8389 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02663, allocations: 7.984 kB / 0.8389 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.02681, allocations: 263.7 kB / 0.8392 GB, free: 5.094 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.02685, allocations: 27.88 kB / 0.8392 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.02687, allocations: 4 kB / 0.8392 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.02695, allocations: 11.98 kB / 0.8392 GB, free: 5.051 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.02697, allocations: 11.98 kB / 0.8392 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.02698, allocations: 7.984 kB / 0.8392 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.02704, allocations: 150 kB / 0.8394 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.02704, allocations: 0 / 0.8394 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002639/0.0273, allocations: 87.75 kB / 0.8394 GB, free: 4.801 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.0002641/0.02757, allocations: 190.9 kB / 0.8396 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.02771, allocations: 110.2 kB / 0.8397 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02771, allocations: 0 / 0.8397 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.02774, allocations: 43.61 kB / 0.8398 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.028, allocations: 43.91 kB / 0.8398 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007094/0.0287, allocations: 331.8 kB / 0.8401 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.544e-05/0.02875, allocations: 68 kB / 0.8402 GB, free: 3.965 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.02885, allocations: 49.19 kB / 0.8402 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.02902, allocations: 158.1 kB / 0.8404 GB, free: 3.762 MB / 0.7917 GB Notification: Performance of SimCode: time 6.91e-07/0.02902, allocations: 4 kB / 0.8404 GB, free: 3.758 MB / 0.7917 GB Notification: Performance of Templates: time 0.005343/0.03436, allocations: 3.763 MB / 0.8441 GB, free: 48 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.052849269937724]