Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001595/0.001595, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001747/0.001747, allocations: 221.1 kB / 23 MB, free: 4.914 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.265/3.265, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002377/0.002377, allocations: 68.69 kB / 1.187 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3969, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006767/0.4037, allocations: 4.498 MB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003315/0.407, allocations: 2.469 MB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.425e-05/0.4071, allocations: 0 / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.4074, allocations: 43.69 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.4077, allocations: 107.3 kB / 1.372 GB, free: 6.406 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.4091, allocations: 0.5161 MB / 1.372 GB, free: 5.891 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.4094, allocations: 235.9 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.4094, allocations: 9.734 kB / 1.372 GB, free: 5.648 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.4096, allocations: 119.7 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.4098, allocations: 87.53 kB / 1.373 GB, free: 5.445 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.4098, allocations: 8 kB / 1.373 GB, free: 5.438 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006261/0.4104, allocations: 319.4 kB / 1.373 GB, free: 5.125 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.4105, allocations: 39.89 kB / 1.373 GB, free: 5.086 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.346e-05/0.4106, allocations: 67.72 kB / 1.373 GB, free: 5.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006924/0.4113, allocations: 358.8 kB / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4113, allocations: 3.938 kB / 1.373 GB, free: 4.664 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4113, allocations: 0 / 1.373 GB, free: 4.664 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.4113, allocations: 4 kB / 1.373 GB, free: 4.66 MB / 1.061 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.0008815/0.4122, allocations: 449.4 kB / 1.374 GB, free: 4.188 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4122, allocations: 8.031 kB / 1.374 GB, free: 4.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.4124, allocations: 24.83 kB / 1.374 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.4127, allocations: 150.3 kB / 1.374 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4127, allocations: 16.69 kB / 1.374 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.4128, allocations: 16.38 kB / 1.374 GB, free: 3.953 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.4133, allocations: 487.3 kB / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4133, allocations: 3.938 kB / 1.374 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4134, allocations: 12 kB / 1.374 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.4134, allocations: 4 kB / 1.374 GB, free: 3.383 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.4139, allocations: 423.5 kB / 1.375 GB, free: 2.969 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4151, allocations: 0.7662 MB / 1.376 GB, free: 2.156 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.4155, allocations: 148.5 kB / 1.376 GB, free: 2.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.4156, allocations: 60.8 kB / 1.376 GB, free: 1.941 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007766/0.4164, allocations: 455.9 kB / 1.376 GB, free: 1.477 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4164, allocations: 42.5 kB / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.4164, allocations: 0 / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003545/0.4168, allocations: 137.5 kB / 1.376 GB, free: 1.285 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4168, allocations: 63.28 kB / 1.376 GB, free: 1.211 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.417, allocations: 168.6 kB / 1.377 GB, free: 1.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.417, allocations: 29.7 kB / 1.377 GB, free: 1.004 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4171, allocations: 140.1 kB / 1.377 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.4171, allocations: 55.52 kB / 1.377 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.4172, allocations: 57.66 kB / 1.377 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4174, allocations: 326.8 kB / 1.377 GB, free: 428 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.4174, allocations: 31.98 kB / 1.377 GB, free: 396 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.4176, allocations: 146.2 kB / 1.377 GB, free: 200 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.418, allocations: 199.9 kB / 1.378 GB, free: 15.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.418, allocations: 0 / 1.378 GB, free: 15.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004033/0.4184, allocations: 217.3 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4184, allocations: 4 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4184, allocations: 4 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4184, allocations: 8 kB / 1.378 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.4186, allocations: 63.91 kB / 1.378 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.4186, allocations: 11.88 kB / 1.378 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.4188, allocations: 27.78 kB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.4188, allocations: 20.33 kB / 1.378 GB, free: 15.6 MB / 1.076 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.0001837/0.419, allocations: 129.8 kB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.419, allocations: 11.95 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.4194, allocations: 156.3 kB / 1.378 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4194, allocations: 3.938 kB / 1.378 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4194, allocations: 3.938 kB / 1.378 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4194, allocations: 3.984 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.4196, allocations: 153.2 kB / 1.378 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4196, allocations: 0 / 1.378 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4197, allocations: 35.92 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4197, allocations: 4 kB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.4197, allocations: 0 / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4197, allocations: 4 kB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4197, allocations: 0 / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.42, allocations: 215.4 kB / 1.379 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.4201, allocations: 35.8 kB / 1.379 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.4201, allocations: 11.94 kB / 1.379 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.4203, allocations: 11.98 kB / 1.379 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.4204, allocations: 15.92 kB / 1.379 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.4204, allocations: 4 kB / 1.379 GB, free: 14.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.462e-05/0.4205, allocations: 117.5 kB / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4205, allocations: 0 / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004093/0.4209, allocations: 83.86 kB / 1.379 GB, free: 14.56 MB / 1.076 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.0003318/0.4212, allocations: 175 kB / 1.379 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.4215, allocations: 122.6 kB / 1.379 GB, free: 14.26 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4215, allocations: 0 / 1.379 GB, free: 14.26 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.4215, allocations: 39.92 kB / 1.379 GB, free: 14.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.422, allocations: 46.86 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007674/0.4227, allocations: 374.5 kB / 1.38 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4228, allocations: 110.9 kB / 1.38 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.4229, allocations: 23.44 kB / 1.38 GB, free: 13.63 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.4229, allocations: 4 kB / 1.38 GB, free: 13.62 MB / 1.076 GB Notification: Performance of Templates: time 0.005807/0.4287, allocations: 3.13 MB / 1.383 GB, free: 10.5 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.601615603081882]