Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001431/0.001431, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001676/0.001676, allocations: 212.2 kB / 22.24 MB, free: 4.855 MB / 14.72 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.973/2.973, allocations: 475.9 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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.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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 66.28 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4141, allocations: 170 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006212/0.4203, allocations: 3.903 MB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.4235, allocations: 2.228 MB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.4236, allocations: 4 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.4239, allocations: 43.7 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.4243, allocations: 103.3 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.4259, allocations: 0.554 MB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.4262, allocations: 255.9 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.4263, allocations: 13.69 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.4265, allocations: 119.6 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.4267, allocations: 87.66 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.4267, allocations: 11.94 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007994/0.4275, allocations: 395.3 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.993e-05/0.4276, allocations: 39.84 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.4277, allocations: 75.7 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.4283, allocations: 410.7 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4283, allocations: 0 / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4283, allocations: 0 / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4283, allocations: 0 / 1.291 GB, free: 3.609 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.0008539/0.4292, allocations: 453.3 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4292, allocations: 8.031 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.4313, allocations: 192.6 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.4317, allocations: 154.3 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.4317, allocations: 12.7 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.4318, allocations: 12.38 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.4326, allocations: 0.5097 MB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4326, allocations: 3.938 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.4327, allocations: 16 kB / 1.292 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.4327, allocations: 4 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/0.4335, allocations: 255.6 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.4353, allocations: 1.165 MB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.436, allocations: 182.4 kB / 1.294 GB, free: 464 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.4363, allocations: 76.81 kB / 1.294 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4363, allocations: 4 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4363, allocations: 34.56 kB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.4363, allocations: 0 / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008616/0.4372, allocations: 248 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.4372, allocations: 55.41 kB / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.4375, allocations: 145.8 kB / 1.294 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.4376, allocations: 29.7 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.4377, allocations: 136.2 kB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.4378, allocations: 67.41 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.4379, allocations: 49.88 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002769/0.4382, allocations: 326.8 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.4384, allocations: 64.42 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.4387, allocations: 143 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.4392, allocations: 223.2 kB / 1.295 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4392, allocations: 3.938 kB / 1.295 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006361/0.4399, allocations: 248.5 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4399, allocations: 4 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4399, allocations: 4 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.4399, allocations: 11.92 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.4403, allocations: 59.95 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.4403, allocations: 7.938 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.4406, allocations: 35.77 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.4406, allocations: 8.156 kB / 1.296 GB, free: 14.38 MB / 0.9981 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.0001615/0.4408, allocations: 137.7 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.4408, allocations: 15.94 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.4415, allocations: 222.6 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4415, allocations: 4 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4415, allocations: 0 / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4416, allocations: 3.984 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.4418, allocations: 173.2 kB / 1.296 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4418, allocations: 0 / 1.296 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.4422, allocations: 55.91 kB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4422, allocations: 4 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.4422, allocations: 11.92 kB / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4422, allocations: 0 / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4422, allocations: 3.938 kB / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.4429, allocations: 297.5 kB / 1.297 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.443, allocations: 31.81 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.443, allocations: 7.938 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.4433, allocations: 19.98 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.4433, allocations: 11.97 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.4433, allocations: 8 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.38e-05/0.4434, allocations: 107.2 kB / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4434, allocations: 0 / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004294/0.4439, allocations: 59.94 kB / 1.297 GB, free: 13.16 MB / 0.9981 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.0002578/0.4441, allocations: 131.2 kB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.4447, allocations: 176.3 kB / 1.297 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4447, allocations: 4 kB / 1.297 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.4449, allocations: 87.81 kB / 1.297 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.4454, allocations: 43.83 kB / 1.297 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.4465, allocations: 408.4 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.4467, allocations: 102.8 kB / 1.298 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.4469, allocations: 45.47 kB / 1.298 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.99e-05/0.447, allocations: 27.42 kB / 1.298 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.447, allocations: 4 kB / 1.298 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.008542/0.4556, allocations: 3.249 MB / 1.301 GB, free: 8.941 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.732826367020607]