Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001407/0.001407, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001414/0.001414, allocations: 165 kB / 23.82 MB, free: 0.7422 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.056/1.056, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.83/1.83, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.TemperatureDependentDensityProperties,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.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,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.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 3.984 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.999e-05, allocations: 3.156 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005668/0.005698, allocations: 4.227 MB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.008522, allocations: 2.577 MB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.008717, allocations: 4 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.009095, allocations: 47.7 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.009475, allocations: 118.3 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.01114, allocations: 0.6295 MB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.01156, allocations: 295.7 kB / 0.8193 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.01162, allocations: 5.812 kB / 0.8193 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.01192, allocations: 164.3 kB / 0.8195 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.01206, allocations: 84.41 kB / 0.8195 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.01209, allocations: 8 kB / 0.8195 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007537/0.01284, allocations: 430.6 kB / 0.82 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.01294, allocations: 43.88 kB / 0.82 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.01302, allocations: 63.83 kB / 0.8201 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.01369, allocations: 414.8 kB / 0.8205 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.01369, allocations: 0 / 0.8205 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.893e-06/0.01369, allocations: 0 / 0.8205 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.0137, allocations: 0 / 0.8205 GB, free: 8.582 MB / 0.7761 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.0007713/0.01447, allocations: 0.5349 MB / 0.821 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.01451, allocations: 10.03 kB / 0.821 GB, free: 8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.01575, allocations: 249 kB / 0.8212 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.01602, allocations: 160.3 kB / 0.8214 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.01604, allocations: 13.83 kB / 0.8214 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.01608, allocations: 20.38 kB / 0.8214 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.01661, allocations: 0.4966 MB / 0.8219 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.01662, allocations: 4.188 kB / 0.8219 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.01666, allocations: 13.16 kB / 0.8219 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.01669, allocations: 4 kB / 0.8219 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.017, allocations: 182.4 kB / 0.8221 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.01833, allocations: 1.624 MB / 0.8237 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.01868, allocations: 156.8 kB / 0.8238 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.01878, allocations: 55.66 kB / 0.8239 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.0188, allocations: 4 kB / 0.8239 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.01883, allocations: 45.33 kB / 0.8239 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 2.244e-06/0.01883, allocations: 2.375 kB / 0.8239 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004214/0.01925, allocations: 200 kB / 0.8241 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.01928, allocations: 55.41 kB / 0.8242 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.0194, allocations: 195.3 kB / 0.8244 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.01943, allocations: 37.7 kB / 0.8244 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.01951, allocations: 178.9 kB / 0.8246 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.01955, allocations: 63.42 kB / 0.8246 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.01963, allocations: 59.53 kB / 0.8247 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.01977, allocations: 0.4962 MB / 0.8252 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.01986, allocations: 44.44 kB / 0.8252 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.02, allocations: 154.6 kB / 0.8254 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.02024, allocations: 201 kB / 0.8255 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.02024, allocations: 0 / 0.8255 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003406/0.02058, allocations: 223.1 kB / 0.8258 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.0206, allocations: 7.938 kB / 0.8258 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.0206, allocations: 4 kB / 0.8258 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.02062, allocations: 4 kB / 0.8258 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.02086, allocations: 68.2 kB / 0.8258 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.02087, allocations: 15.92 kB / 0.8259 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.021, allocations: 23.84 kB / 0.8259 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.02102, allocations: 15.98 kB / 0.8259 GB, free: 2.594 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.000105/0.02113, allocations: 168.5 kB / 0.8261 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.02118, allocations: 19.89 kB / 0.8261 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.02152, allocations: 189.1 kB / 0.8263 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.02153, allocations: 7.984 kB / 0.8263 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.02153, allocations: 0 / 0.8263 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.02154, allocations: 0 / 0.8263 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.02175, allocations: 188.5 kB / 0.8264 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02175, allocations: 3.984 kB / 0.8264 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.02194, allocations: 51.91 kB / 0.8265 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.02194, allocations: 4 kB / 0.8265 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.02196, allocations: 11.94 kB / 0.8265 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.02197, allocations: 3.984 kB / 0.8265 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02197, allocations: 0 / 0.8265 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.02229, allocations: 319.7 kB / 0.8268 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.02236, allocations: 27.81 kB / 0.8268 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.02239, allocations: 7.938 kB / 0.8269 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.02257, allocations: 15.98 kB / 0.8269 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.0226, allocations: 11.98 kB / 0.8269 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.02263, allocations: 7.984 kB / 0.8269 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.0227, allocations: 145 kB / 0.827 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.0227, allocations: 0 / 0.827 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003982/0.0231, allocations: 67.94 kB / 0.8271 GB, free: 1.297 MB / 0.7761 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002218/0.02332, allocations: 139.2 kB / 0.8272 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.02361, allocations: 159.9 kB / 0.8274 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.02362, allocations: 4 kB / 0.8274 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.02372, allocations: 78.44 kB / 0.8275 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.02416, allocations: 75.81 kB / 0.8275 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.02522, allocations: 370.6 kB / 0.8279 GB, free: 456 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.453e-05/0.02528, allocations: 68.84 kB / 0.8279 GB, free: 368 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.02553, allocations: 49.45 kB / 0.828 GB, free: 320 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.02563, allocations: 28.5 kB / 0.828 GB, free: 288 kB / 0.7761 GB Notification: Performance of SimCode: time 1.373e-06/0.02563, allocations: 0 / 0.828 GB, free: 288 kB / 0.7761 GB Notification: Performance of Templates: time 0.007715/0.03334, allocations: 3.756 MB / 0.8317 GB, free: 12.63 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.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.279410607647151]