Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008239/0.0008239, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001829, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007235/0.0007235, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008896/0.001613, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9967/0.9967, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08793/1.085, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.456/2.456, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2526/2.709, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8183 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.313e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004042/0.004065, allocations: 4.297 MB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.006205, allocations: 2.593 MB / 0.8251 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.00629, allocations: 0 / 0.8251 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.006493, allocations: 59.67 kB / 0.8251 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.00671, allocations: 111.2 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.008227, allocations: 0.6254 MB / 0.8259 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.008708, allocations: 291.7 kB / 0.8261 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.008754, allocations: 10.47 kB / 0.8261 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.009016, allocations: 179.6 kB / 0.8263 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.009137, allocations: 75.77 kB / 0.8264 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.009157, allocations: 8 kB / 0.8264 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.009893, allocations: 446.9 kB / 0.8268 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.009965, allocations: 27.94 kB / 0.8268 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.01004, allocations: 51.88 kB / 0.8269 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.01059, allocations: 362.9 kB / 0.8272 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-05/0.0106, allocations: 4 kB / 0.8272 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01061, allocations: 4 kB / 0.8272 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.01063, allocations: 0 / 0.8272 GB, free: 9.691 MB / 0.8073 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.0007736/0.0114, allocations: 0.5593 MB / 0.8278 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.01143, allocations: 12.62 kB / 0.8278 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.01243, allocations: 268 kB / 0.8281 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.01264, allocations: 133.6 kB / 0.8282 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.01266, allocations: 12.7 kB / 0.8282 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.01269, allocations: 24.31 kB / 0.8282 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.01312, allocations: 469.9 kB / 0.8287 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01313, allocations: 192 / 0.8287 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.01316, allocations: 12.12 kB / 0.8287 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.01318, allocations: 8 kB / 0.8287 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.01337, allocations: 139.7 kB / 0.8288 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.01496, allocations: 1.078 MB / 0.8299 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.01521, allocations: 126.4 kB / 0.83 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.01526, allocations: 44.83 kB / 0.83 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01529, allocations: 3.938 kB / 0.83 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.01531, allocations: 38.56 kB / 0.8301 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.933e-06/0.01531, allocations: 0 / 0.8301 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002245/0.01554, allocations: 132.4 kB / 0.8302 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.01558, allocations: 59.31 kB / 0.8303 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.01566, allocations: 150.5 kB / 0.8304 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.01568, allocations: 33.7 kB / 0.8304 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.01575, allocations: 132.2 kB / 0.8306 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.01578, allocations: 63.47 kB / 0.8306 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.01584, allocations: 57.84 kB / 0.8307 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.01594, allocations: 318.8 kB / 0.831 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.01598, allocations: 28.45 kB / 0.831 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.01606, allocations: 103 kB / 0.8311 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.01619, allocations: 161.9 kB / 0.8313 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01619, allocations: 0 / 0.8313 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001755/0.01637, allocations: 157.3 kB / 0.8314 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.01638, allocations: 8 kB / 0.8314 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01639, allocations: 4 kB / 0.8314 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01641, allocations: 7.938 kB / 0.8314 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.01664, allocations: 88.17 kB / 0.8315 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.01665, allocations: 7.938 kB / 0.8315 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.01674, allocations: 23.88 kB / 0.8315 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01675, allocations: 8 kB / 0.8316 GB, free: 4.918 MB / 0.8073 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.122e-05/0.01684, allocations: 128.5 kB / 0.8317 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.01688, allocations: 15.98 kB / 0.8317 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.01713, allocations: 142.7 kB / 0.8318 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.01713, allocations: 7.938 kB / 0.8318 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01714, allocations: 4 kB / 0.8318 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01714, allocations: 0 / 0.8318 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01733, allocations: 121.8 kB / 0.832 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01733, allocations: 0 / 0.832 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.01752, allocations: 59.89 kB / 0.832 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.01757, allocations: 27.86 kB / 0.832 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01757, allocations: 3.938 kB / 0.832 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01759, allocations: 7.984 kB / 0.8321 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.0176, allocations: 3.938 kB / 0.8321 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.0176, allocations: 0 / 0.8321 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.01783, allocations: 218.2 kB / 0.8323 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.01785, allocations: 4 kB / 0.8323 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01796, allocations: 15.98 kB / 0.8323 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.01799, allocations: 15.86 kB / 0.8323 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.018, allocations: 7.984 kB / 0.8323 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.01804, allocations: 31.02 kB / 0.8323 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01804, allocations: 0 / 0.8323 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002611/0.0183, allocations: 71.89 kB / 0.8324 GB, free: 3.996 MB / 0.8073 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.0002317/0.01853, allocations: 120.3 kB / 0.8325 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01871, allocations: 106 kB / 0.8326 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.01872, allocations: 12 kB / 0.8326 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.01878, allocations: 60.75 kB / 0.8327 GB, free: 3.691 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.01908, allocations: 95.84 kB / 0.8328 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.02194, allocations: 386.3 kB / 0.8332 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.02199, allocations: 76.84 kB / 0.8332 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.02215, allocations: 41.47 kB / 0.8333 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.02234, allocations: 131.3 kB / 0.8334 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of SimCode: time 9.72e-07/0.02234, allocations: 0 / 0.8334 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.005478/0.02782, allocations: 3.945 MB / 0.8372 GB, free: 15.08 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.ref.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.403198548592627]