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.0009486/0.0009486, allocations: 81.95 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.001055/0.001055, allocations: 166 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 1.026/1.026, allocations: 177.1 MB / 205.3 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.864/1.864, allocations: 377.9 MB / 0.6247 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.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 1.744e-06/1.744e-06, allocations: 0 / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.486e-05, allocations: 3.062 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004698/0.004723, allocations: 4.199 MB / 0.8169 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.00735, allocations: 2.561 MB / 0.8194 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.007458, allocations: 0 / 0.8194 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.007736, allocations: 59.61 kB / 0.8195 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.008007, allocations: 113.6 kB / 0.8196 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.009156, allocations: 0.6248 MB / 0.8202 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.009438, allocations: 295.7 kB / 0.8205 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.009482, allocations: 9.797 kB / 0.8205 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.009699, allocations: 163.6 kB / 0.8207 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.009823, allocations: 83.77 kB / 0.8207 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.009844, allocations: 13.12 kB / 0.8207 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.01042, allocations: 423 kB / 0.8212 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.01049, allocations: 39.88 kB / 0.8212 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.01055, allocations: 64.88 kB / 0.8213 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.0112, allocations: 418.7 kB / 0.8217 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01121, allocations: 0 / 0.8217 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01121, allocations: 5 kB / 0.8217 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.01121, allocations: 0 / 0.8217 GB, free: 8.391 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.000585/0.0118, allocations: 0.5359 MB / 0.8222 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.01183, allocations: 8.031 kB / 0.8222 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.01291, allocations: 239.4 kB / 0.8224 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.0131, allocations: 164.3 kB / 0.8226 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.01312, allocations: 12.7 kB / 0.8226 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.01315, allocations: 24.36 kB / 0.8226 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.01353, allocations: 484.6 kB / 0.8231 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.01354, allocations: 192 / 0.8231 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.01356, allocations: 17.22 kB / 0.8231 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.01358, allocations: 4 kB / 0.8231 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.01378, allocations: 164.4 kB / 0.8232 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/0.01476, allocations: 1.599 MB / 0.8248 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.01501, allocations: 133.6 kB / 0.8249 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.01507, allocations: 52.25 kB / 0.825 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.01509, allocations: 5.375 kB / 0.825 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.01511, allocations: 41.38 kB / 0.825 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.01511, allocations: 0 / 0.825 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0002906/0.0154, allocations: 177.3 kB / 0.8252 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.01543, allocations: 55.41 kB / 0.8253 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.01552, allocations: 195.1 kB / 0.8254 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.01554, allocations: 33.7 kB / 0.8255 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.01561, allocations: 178.9 kB / 0.8256 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.01565, allocations: 63.41 kB / 0.8257 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.01571, allocations: 63.52 kB / 0.8258 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01583, allocations: 0.5001 MB / 0.8262 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.01588, allocations: 36.44 kB / 0.8263 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/0.01597, allocations: 146.3 kB / 0.8264 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.01613, allocations: 190 kB / 0.8266 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.01613, allocations: 0 / 0.8266 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002372/0.01637, allocations: 195.3 kB / 0.8268 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01639, allocations: 8.312 kB / 0.8268 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.01639, allocations: 11.94 kB / 0.8268 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.0164, allocations: 4 kB / 0.8268 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.01659, allocations: 67.89 kB / 0.8269 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.01659, allocations: 4 kB / 0.8269 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01669, allocations: 27.83 kB / 0.8269 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.01671, allocations: 8 kB / 0.8269 GB, free: 2.59 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 8.419e-05/0.01679, allocations: 168.5 kB / 0.8271 GB, free: 2.414 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.01683, allocations: 19.95 kB / 0.8271 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.01706, allocations: 178.5 kB / 0.8273 GB, free: 2.211 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01707, allocations: 4 kB / 0.8273 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01707, allocations: 4 kB / 0.8273 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01707, allocations: 0 / 0.8273 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.01724, allocations: 157.1 kB / 0.8274 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.01724, allocations: 0 / 0.8274 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.01738, allocations: 47.95 kB / 0.8275 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01739, allocations: 0 / 0.8275 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.0174, allocations: 4 kB / 0.8275 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.0174, allocations: 4 kB / 0.8275 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.0174, allocations: 3.938 kB / 0.8275 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.01762, allocations: 301 kB / 0.8278 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.01767, allocations: 31.81 kB / 0.8278 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01769, allocations: 8 kB / 0.8278 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.0178, allocations: 11.92 kB / 0.8278 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.01782, allocations: 15.92 kB / 0.8278 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.01784, allocations: 15.98 kB / 0.8278 GB, free: 1.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.01789, allocations: 140.6 kB / 0.828 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01789, allocations: 0 / 0.828 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002426/0.01813, allocations: 67.94 kB / 0.828 GB, free: 1.367 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.0003179/0.01845, allocations: 155 kB / 0.8282 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.01863, allocations: 132 kB / 0.8283 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01863, allocations: 4 kB / 0.8283 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.0187, allocations: 73.12 kB / 0.8284 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01902, allocations: 79.84 kB / 0.8285 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.01972, allocations: 354.6 kB / 0.8288 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.92e-05/0.01976, allocations: 72.83 kB / 0.8289 GB, free: 464 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.01992, allocations: 45.47 kB / 0.8289 GB, free: 420 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.02011, allocations: 158.1 kB / 0.8291 GB, free: 260 kB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.02011, allocations: 0 / 0.8291 GB, free: 260 kB / 0.7761 GB Notification: Performance of Templates: time 0.005401/0.02552, allocations: 3.862 MB / 0.8328 GB, free: 12.5 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.323247770778835]