Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 194.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 67.89 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9013/0.9041, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.008854/0.913, allocations: 4.783 MB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003705/0.9167, allocations: 2.714 MB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.407e-05/0.9168, allocations: 0 / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.9171, allocations: 47.62 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.9174, allocations: 107.3 kB / 1.282 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.9187, allocations: 0.5145 MB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.919, allocations: 228 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.9191, allocations: 5.562 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.9193, allocations: 127.5 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.9194, allocations: 87.66 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.9195, allocations: 8 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007077/0.9202, allocations: 371.3 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.321e-05/0.9203, allocations: 39.89 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.617e-05/0.9204, allocations: 83.58 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.921, allocations: 361.6 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.921, allocations: 0 / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.921, allocations: 0 / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.921, allocations: 0 / 1.283 GB, free: 11.05 MB / 0.9825 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.0009305/0.922, allocations: 0.5103 MB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.922, allocations: 8.031 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.9222, allocations: 24.84 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.9225, allocations: 216.1 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.9226, allocations: 16.69 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.9226, allocations: 12.38 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.923, allocations: 256.2 kB / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.9231, allocations: 0 / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.9231, allocations: 4 kB / 1.284 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.9231, allocations: 11.98 kB / 1.284 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.9237, allocations: 423.5 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.925, allocations: 0.949 MB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.9253, allocations: 145.1 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.9255, allocations: 56.83 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/0.9272, allocations: 1.829 MB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.9272, allocations: 38.55 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.9272, allocations: 0 / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003746/0.9276, allocations: 148.3 kB / 1.288 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.9276, allocations: 59.34 kB / 1.288 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.9278, allocations: 179.2 kB / 1.288 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.9278, allocations: 29.7 kB / 1.288 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.9279, allocations: 148 kB / 1.288 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.928, allocations: 59.52 kB / 1.288 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.9281, allocations: 53.66 kB / 1.288 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.9282, allocations: 326.8 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.9283, allocations: 35.98 kB / 1.289 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.9285, allocations: 145.6 kB / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.9288, allocations: 189.5 kB / 1.289 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.9288, allocations: 4 kB / 1.289 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003594/0.9291, allocations: 219.5 kB / 1.289 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9292, allocations: 11.98 kB / 1.289 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9292, allocations: 4 kB / 1.289 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.9292, allocations: 4 kB / 1.289 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.9294, allocations: 56.33 kB / 1.289 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.9294, allocations: 12 kB / 1.289 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.9295, allocations: 31.73 kB / 1.289 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.9295, allocations: 15.98 kB / 1.289 GB, free: 4.152 MB / 0.9825 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 0.0001308/0.9297, allocations: 132.4 kB / 1.289 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.9297, allocations: 11.95 kB / 1.289 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.93, allocations: 158.9 kB / 1.29 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.9301, allocations: 7.938 kB / 1.29 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9301, allocations: 0 / 1.29 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.9301, allocations: 7.984 kB / 1.29 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.9304, allocations: 213.5 kB / 1.29 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9304, allocations: 0 / 1.29 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.9305, allocations: 23.98 kB / 1.29 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.9305, allocations: 0 / 1.29 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.9305, allocations: 8 kB / 1.29 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9305, allocations: 3.938 kB / 1.29 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.9305, allocations: 0 / 1.29 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.9308, allocations: 221 kB / 1.29 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.9309, allocations: 116.9 kB / 1.29 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.9309, allocations: 0 / 1.29 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.9311, allocations: 19.92 kB / 1.29 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.9311, allocations: 7.984 kB / 1.29 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.9312, allocations: 15.98 kB / 1.29 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001075/0.9313, allocations: 120 kB / 1.29 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9313, allocations: 3.938 kB / 1.29 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003898/0.9317, allocations: 71.88 kB / 1.29 GB, free: 2.938 MB / 0.9825 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.0003699/0.932, allocations: 187.5 kB / 1.291 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.9323, allocations: 112.6 kB / 1.291 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.9323, allocations: 4.062 kB / 1.291 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.9324, allocations: 35.92 kB / 1.291 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.9328, allocations: 58.14 kB / 1.291 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.9336, allocations: 362.5 kB / 1.291 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.934, allocations: 0.7168 MB / 1.292 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.9342, allocations: 45.8 kB / 1.292 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.9342, allocations: 23.44 kB / 1.292 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9342, allocations: 0 / 1.292 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of Templates: time 0.008102/0.9423, allocations: 3.511 MB / 1.295 GB, free: 13.88 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.116506102029234]