Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.00178/0.00178, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002367/0.002367, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.269/3.269, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.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_12_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_12_Buildings.Media.Examples.WaterProperties") [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.002054/0.002054, allocations: 67.03 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3925, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00688/0.3994, allocations: 4.504 MB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003343/0.4028, allocations: 2.465 MB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4029, allocations: 0 / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.4032, allocations: 51.62 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.4035, allocations: 91.36 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.4048, allocations: 0.5231 MB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.4051, allocations: 235.9 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.4052, allocations: 9.75 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.4054, allocations: 111.6 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.4056, allocations: 95.59 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.4056, allocations: 8 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007074/0.4063, allocations: 315.4 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.4064, allocations: 39.83 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.4065, allocations: 83.7 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006283/0.4071, allocations: 354.8 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4071, allocations: 0 / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4071, allocations: 4 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4071, allocations: 0 / 1.336 GB, free: 8.086 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.000897/0.408, allocations: 437.4 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4081, allocations: 16.02 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.4083, allocations: 20.84 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.4086, allocations: 154.3 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4086, allocations: 12.7 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4086, allocations: 24.31 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.4093, allocations: 499.4 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4093, allocations: 0 / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.4093, allocations: 7.984 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.4093, allocations: 12 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.4099, allocations: 415.5 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.4111, allocations: 0.7818 MB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.4115, allocations: 144.7 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4116, allocations: 60.78 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000791/0.4123, allocations: 447.9 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.4124, allocations: 34.56 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.4124, allocations: 0 / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003815/0.4128, allocations: 144 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.4128, allocations: 67.28 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.413, allocations: 156.1 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.413, allocations: 33.7 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.4131, allocations: 152.1 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.4131, allocations: 59.52 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.4132, allocations: 49.7 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4134, allocations: 318.8 kB / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.4134, allocations: 35.98 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4136, allocations: 137.7 kB / 1.34 GB, free: 3.621 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.4138, allocations: 197.5 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4138, allocations: 0 / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003614/0.4142, allocations: 214.7 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4142, allocations: 11.98 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4142, allocations: 4 kB / 1.34 GB, free: 3.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4143, allocations: 4 kB / 1.34 GB, free: 3.145 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.4145, allocations: 60.39 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.4145, allocations: 19.86 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4146, allocations: 27.78 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.4146, allocations: 12 kB / 1.34 GB, free: 3.027 MB / 1.029 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.0001338/0.4147, allocations: 130.2 kB / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.4148, allocations: 15.91 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.4151, allocations: 154.2 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.4151, allocations: 7.984 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4151, allocations: 3.938 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4152, allocations: 0 / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.4154, allocations: 153.2 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4154, allocations: 4 kB / 1.341 GB, free: 2.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.4155, allocations: 31.92 kB / 1.341 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.4155, allocations: 0 / 1.341 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4155, allocations: 11.94 kB / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4155, allocations: 0 / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4155, allocations: 0 / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4158, allocations: 226.1 kB / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.4159, allocations: 35.75 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.4159, allocations: 0 / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.4161, allocations: 15.98 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.4161, allocations: 15.97 kB / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.4161, allocations: 19.92 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.277e-05/0.4162, allocations: 113.4 kB / 1.341 GB, free: 2.051 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4162, allocations: 0 / 1.341 GB, free: 2.051 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004114/0.4166, allocations: 75.86 kB / 1.341 GB, free: 1.977 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 (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.0003281/0.417, allocations: 186.9 kB / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.4172, allocations: 111.8 kB / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4172, allocations: 0 / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.4173, allocations: 39.92 kB / 1.342 GB, free: 1.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.4177, allocations: 44.84 kB / 1.342 GB, free: 1.598 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.4184, allocations: 344.1 kB / 1.342 GB, free: 1.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.4185, allocations: 106.9 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.4187, allocations: 37.36 kB / 1.342 GB, free: 1.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.4187, allocations: 23.42 kB / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4187, allocations: 0 / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of Templates: time 0.0078/0.4265, allocations: 3.391 MB / 1.345 GB, free: 13.72 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.521798642992508]