Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.00181/0.00181, allocations: 112.8 kB / 17.08 MB, free: 5.988 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.001853/0.001853, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 59.91 kB / 1.028 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3016, allocations: 151.6 MB / 1.176 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005849/0.3075, allocations: 4.06 MB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003025/0.3106, allocations: 2.445 MB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.3107, allocations: 0 / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.3109, allocations: 39.69 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.3113, allocations: 99.41 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3126, allocations: 0.5178 MB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.3129, allocations: 263.8 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.313, allocations: 13.53 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3132, allocations: 103.7 kB / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3134, allocations: 99.58 kB / 1.183 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.3134, allocations: 8 kB / 1.183 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008725/0.3143, allocations: 459.2 kB / 1.184 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.3144, allocations: 47.88 kB / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.73e-05/0.3145, allocations: 71.67 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.3152, allocations: 422.7 kB / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3152, allocations: 4 kB / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3152, allocations: 0 / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3152, allocations: 0 / 1.184 GB, free: 13.15 MB / 0.9356 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.000791/0.316, allocations: 0.5063 MB / 1.185 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3161, allocations: 8.031 kB / 1.185 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.318, allocations: 180.6 kB / 1.185 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3184, allocations: 200.2 kB / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.3184, allocations: 16.7 kB / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.3185, allocations: 16.38 kB / 1.185 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.3192, allocations: 308.4 kB / 1.186 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3192, allocations: 3.938 kB / 1.186 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.3192, allocations: 8 kB / 1.186 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.3193, allocations: 7.984 kB / 1.186 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007571/0.32, allocations: 259.6 kB / 1.186 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.3218, allocations: 1.385 MB / 1.187 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.3225, allocations: 190.8 kB / 1.187 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.3227, allocations: 76.81 kB / 1.187 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3228, allocations: 7.906 kB / 1.187 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.3228, allocations: 50.55 kB / 1.187 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3228, allocations: 3.938 kB / 1.187 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008231/0.3236, allocations: 243.4 kB / 1.188 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3237, allocations: 55.41 kB / 1.188 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3239, allocations: 164.2 kB / 1.188 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.3239, allocations: 37.7 kB / 1.188 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.324, allocations: 128.2 kB / 1.188 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3241, allocations: 63.47 kB / 1.188 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.3242, allocations: 61.88 kB / 1.188 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3243, allocations: 318.8 kB / 1.188 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3246, allocations: 64.42 kB / 1.189 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.3249, allocations: 151.6 kB / 1.189 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.3254, allocations: 219.2 kB / 1.189 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3254, allocations: 4 kB / 1.189 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006232/0.3261, allocations: 245.4 kB / 1.189 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3261, allocations: 8 kB / 1.189 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3261, allocations: 4 kB / 1.189 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3261, allocations: 4 kB / 1.189 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.3265, allocations: 59.89 kB / 1.189 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3265, allocations: 7.984 kB / 1.189 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.3267, allocations: 31.78 kB / 1.189 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.3268, allocations: 16.14 kB / 1.189 GB, free: 7.719 MB / 0.9356 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.0001385/0.3269, allocations: 133.7 kB / 1.189 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.327, allocations: 15.91 kB / 1.189 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.3276, allocations: 226.7 kB / 1.19 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3277, allocations: 4 kB / 1.19 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3277, allocations: 0 / 1.19 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3277, allocations: 3.938 kB / 1.19 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.328, allocations: 249.3 kB / 1.19 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.328, allocations: 4 kB / 1.19 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.3283, allocations: 39.97 kB / 1.19 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3283, allocations: 4 kB / 1.19 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3284, allocations: 7.984 kB / 1.19 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3284, allocations: 0 / 1.19 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3284, allocations: 0 / 1.19 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.329, allocations: 306 kB / 1.19 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3291, allocations: 104.9 kB / 1.19 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.3291, allocations: 8 kB / 1.19 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3294, allocations: 15.97 kB / 1.19 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3295, allocations: 11.98 kB / 1.19 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.3295, allocations: 8 kB / 1.19 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.209e-05/0.3296, allocations: 118.3 kB / 1.19 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3296, allocations: 4 kB / 1.19 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003521/0.33, allocations: 60 kB / 1.191 GB, free: 6.328 MB / 0.9356 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.0002223/0.3302, allocations: 139.2 kB / 1.191 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005735/0.3308, allocations: 185.8 kB / 1.191 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3308, allocations: 0 / 1.191 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.331, allocations: 84.52 kB / 1.191 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.3315, allocations: 63.81 kB / 1.191 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.3325, allocations: 434.5 kB / 1.191 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3329, allocations: 0.7251 MB / 1.192 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.333, allocations: 27.42 kB / 1.192 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.333, allocations: 0 / 1.192 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of Templates: time 0.005397/0.3384, allocations: 2.943 MB / 1.195 GB, free: 1.691 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: 10.449404726969078]