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.0009455/0.0009455, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001935/0.001935, allocations: 161 kB / 23.82 MB, free: 0.75 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.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.254 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 2.07/2.07, allocations: 377.8 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.665e-06/2.665e-06, allocations: 4.656 kB / 0.8116 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.247e-05, allocations: 5.609 kB / 0.8116 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004654/0.004676, allocations: 4.226 MB / 0.8157 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.006731, allocations: 2.573 MB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.006816, allocations: 4 kB / 0.8182 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.00711, allocations: 55.61 kB / 0.8183 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.007397, allocations: 117.1 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.008629, allocations: 0.6222 MB / 0.819 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.008925, allocations: 295.6 kB / 0.8193 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.008965, allocations: 9.812 kB / 0.8193 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.009186, allocations: 172 kB / 0.8195 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.00931, allocations: 84.31 kB / 0.8195 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.009332, allocations: 9.438 kB / 0.8196 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.009901, allocations: 423 kB / 0.82 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.009975, allocations: 39.88 kB / 0.82 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.01004, allocations: 59.91 kB / 0.8201 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.0106, allocations: 415.3 kB / 0.8204 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.0106, allocations: 0 / 0.8204 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.0106, allocations: 0.75 kB / 0.8204 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.01061, allocations: 11.92 kB / 0.8205 GB, free: 8.559 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.0006/0.01121, allocations: 0.5327 MB / 0.821 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01124, allocations: 12.03 kB / 0.821 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.01229, allocations: 241.9 kB / 0.8212 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.01248, allocations: 157.7 kB / 0.8214 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.0125, allocations: 12.7 kB / 0.8214 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.01253, allocations: 16.38 kB / 0.8214 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.01295, allocations: 0.5003 MB / 0.8219 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.01296, allocations: 1.844 kB / 0.8219 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.01298, allocations: 16.12 kB / 0.8219 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.013, allocations: 4 kB / 0.8219 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.01325, allocations: 183.3 kB / 0.8221 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.01428, allocations: 1.626 MB / 0.8237 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.01457, allocations: 153 kB / 0.8238 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.01464, allocations: 55.66 kB / 0.8239 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.01466, allocations: 5.125 kB / 0.8239 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.01469, allocations: 49.33 kB / 0.8239 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.01469, allocations: 0 / 0.8239 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.000326/0.01502, allocations: 198 kB / 0.8241 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.01504, allocations: 55.41 kB / 0.8242 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.01514, allocations: 197.9 kB / 0.8244 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.01516, allocations: 30.2 kB / 0.8244 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.01524, allocations: 187.5 kB / 0.8246 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01527, allocations: 63.42 kB / 0.8246 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.01534, allocations: 60.91 kB / 0.8247 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.01545, allocations: 0.4962 MB / 0.8252 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.01552, allocations: 40.44 kB / 0.8252 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01563, allocations: 155.4 kB / 0.8254 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.01587, allocations: 210 kB / 0.8256 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01588, allocations: 0 / 0.8256 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003463/0.01622, allocations: 219.6 kB / 0.8258 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01624, allocations: 11.94 kB / 0.8258 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01625, allocations: 0 / 0.8258 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01626, allocations: 4.312 kB / 0.8258 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.01651, allocations: 67.89 kB / 0.8258 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.01652, allocations: 4 kB / 0.8258 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.01665, allocations: 31.83 kB / 0.8259 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.01667, allocations: 8 kB / 0.8259 GB, free: 2.598 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 9.756e-05/0.01677, allocations: 172.5 kB / 0.826 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.01682, allocations: 23.89 kB / 0.8261 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.01716, allocations: 198.5 kB / 0.8263 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.01716, allocations: 0 / 0.8263 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01716, allocations: 0 / 0.8263 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01717, allocations: 0 / 0.8263 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.01737, allocations: 184.5 kB / 0.8264 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01738, allocations: 4 kB / 0.8264 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.01757, allocations: 51.95 kB / 0.8265 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01757, allocations: 0 / 0.8265 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.01759, allocations: 7.938 kB / 0.8265 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01759, allocations: 3.984 kB / 0.8265 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01759, allocations: 0 / 0.8265 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.01789, allocations: 321.9 kB / 0.8268 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.01796, allocations: 31.81 kB / 0.8268 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.01798, allocations: 3.938 kB / 0.8268 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.01813, allocations: 19.98 kB / 0.8269 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.01815, allocations: 7.984 kB / 0.8269 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.01817, allocations: 11.98 kB / 0.8269 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.058e-05/0.01823, allocations: 143.2 kB / 0.827 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01823, allocations: 0 / 0.827 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003335/0.01856, 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.0001774/0.01874, allocations: 147.1 kB / 0.8272 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.01901, allocations: 157.6 kB / 0.8274 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01901, allocations: 0 / 0.8274 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01912, allocations: 76.22 kB / 0.8274 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.0004252/0.01955, allocations: 77.73 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.0009018/0.02045, allocations: 371.4 kB / 0.8279 GB, free: 456 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.193e-05/0.0205, allocations: 72.83 kB / 0.8279 GB, free: 364 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.0207, allocations: 49.47 kB / 0.828 GB, free: 316 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.02078, allocations: 24.48 kB / 0.828 GB, free: 288 kB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.02078, allocations: 0 / 0.828 GB, free: 288 kB / 0.7761 GB Notification: Performance of Templates: time 0.005941/0.02672, allocations: 3.428 MB / 0.8314 GB, free: 12.96 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.708064312115312]