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.001395/0.001395, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.001517/0.001517, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.406/3.406, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_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.002065/0.002065, allocations: 76.08 kB / 1.149 GB, free: 25.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4039, allocations: 176.1 MB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006718/0.4106, allocations: 4.146 MB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003765/0.4144, allocations: 2.449 MB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.4146, allocations: 4 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.415, allocations: 47.67 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.4155, allocations: 99.41 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.4177, allocations: 0.5468 MB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.4182, allocations: 247.9 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.4183, allocations: 13.55 kB / 1.329 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.4186, allocations: 119.5 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.4188, allocations: 95.64 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.4188, allocations: 8 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.4199, allocations: 475.2 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.42, allocations: 47.81 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.4201, allocations: 83.66 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006689/0.4207, allocations: 422.6 kB / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4208, allocations: 0 / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4208, allocations: 0 / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4208, allocations: 0 / 1.33 GB, free: 9.938 MB / 1.029 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.00094/0.4217, allocations: 0.5157 MB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4217, allocations: 15.98 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.4239, allocations: 188.6 kB / 1.331 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.4243, allocations: 212.1 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.4243, allocations: 24.69 kB / 1.331 GB, free: 8.902 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.4244, allocations: 16.38 kB / 1.331 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.4251, allocations: 304.3 kB / 1.331 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.4251, allocations: 4 kB / 1.331 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.4252, allocations: 7.938 kB / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.4252, allocations: 8 kB / 1.331 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.426, allocations: 259.6 kB / 1.331 GB, free: 8.281 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.4278, allocations: 1.4 MB / 1.333 GB, free: 6.766 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/0.4285, allocations: 182.5 kB / 1.333 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.4287, allocations: 75 kB / 1.333 GB, free: 6.504 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4288, allocations: 4 kB / 1.333 GB, free: 6.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.4288, allocations: 38.56 kB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.4288, allocations: 0 / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008634/0.4297, allocations: 241.4 kB / 1.333 GB, free: 6.211 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4297, allocations: 55.41 kB / 1.333 GB, free: 6.145 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.4299, allocations: 160.4 kB / 1.333 GB, free: 5.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.4299, allocations: 29.7 kB / 1.333 GB, free: 5.945 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.43, allocations: 136.1 kB / 1.334 GB, free: 5.809 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.4301, allocations: 71.42 kB / 1.334 GB, free: 5.738 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.4302, allocations: 41.94 kB / 1.334 GB, free: 5.688 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4304, allocations: 326.8 kB / 1.334 GB, free: 5.359 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.4306, allocations: 64.41 kB / 1.334 GB, free: 5.297 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.4309, allocations: 147 kB / 1.334 GB, free: 5.121 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.4314, allocations: 223.3 kB / 1.334 GB, free: 4.871 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4314, allocations: 0 / 1.334 GB, free: 4.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006319/0.432, allocations: 249.2 kB / 1.335 GB, free: 4.621 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.432, allocations: 8 kB / 1.335 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.432, allocations: 0 / 1.335 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4321, allocations: 4 kB / 1.335 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.4324, allocations: 67.89 kB / 1.335 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4324, allocations: 7.938 kB / 1.335 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.4327, allocations: 36.14 kB / 1.335 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.4327, allocations: 8 kB / 1.335 GB, free: 4.492 MB / 1.029 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.0001427/0.4328, allocations: 145.6 kB / 1.335 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.4329, allocations: 15.91 kB / 1.335 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/0.4335, allocations: 218.7 kB / 1.335 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4336, allocations: 0 / 1.335 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4336, allocations: 4 kB / 1.335 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4336, allocations: 7.969 kB / 1.335 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.4339, allocations: 233.5 kB / 1.335 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4339, allocations: 7.984 kB / 1.335 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.4342, allocations: 55.91 kB / 1.335 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4342, allocations: 0 / 1.335 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.4342, allocations: 4 kB / 1.335 GB, free: 3.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4342, allocations: 3.938 kB / 1.335 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4342, allocations: 0 / 1.335 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.4348, allocations: 305 kB / 1.336 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.4349, allocations: 108.9 kB / 1.336 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.435, allocations: 0 / 1.336 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.4352, allocations: 23.92 kB / 1.336 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.4353, allocations: 7.984 kB / 1.336 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.4353, allocations: 11.98 kB / 1.336 GB, free: 3.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.744e-05/0.4354, allocations: 113.3 kB / 1.336 GB, free: 3.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4354, allocations: 4 kB / 1.336 GB, free: 3.148 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004119/0.4358, allocations: 67.92 kB / 1.336 GB, free: 3.082 MB / 1.029 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.0002799/0.4361, allocations: 135.2 kB / 1.336 GB, free: 2.941 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005819/0.4367, allocations: 169.8 kB / 1.336 GB, free: 2.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4367, allocations: 4 kB / 1.336 GB, free: 2.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.4369, allocations: 86.28 kB / 1.336 GB, free: 2.691 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.4374, allocations: 71.81 kB / 1.337 GB, free: 2.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.4384, allocations: 405.6 kB / 1.337 GB, free: 2.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.4388, allocations: 0.7212 MB / 1.338 GB, free: 1.457 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002443/0.439, allocations: 49.92 kB / 1.338 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4392, allocations: 27.42 kB / 1.338 GB, free: 1.379 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4392, allocations: 0 / 1.338 GB, free: 1.379 MB / 1.029 GB Notification: Performance of Templates: time 0.007551/0.4467, allocations: 3.423 MB / 1.341 GB, free: 14 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.557886526919901]