Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.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.001515/0.001515, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001686/0.001686, allocations: 188.9 kB / 22.22 MB, free: 5.105 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.488/1.488, allocations: 225.6 MB / 251 MB, free: 13.02 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.821/2.821, allocations: 476.7 MB / 0.7646 GB, free: 9.871 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.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.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_11_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_11_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 59.89 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9206/0.9227, allocations: 168.8 MB / 1.274 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007464/0.9302, allocations: 4.787 MB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.9341, allocations: 2.714 MB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.9343, allocations: 0 / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.9346, allocations: 47.69 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.935, allocations: 103.3 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.9365, allocations: 0.5141 MB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.9369, allocations: 236 kB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.9369, allocations: 5.75 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.9372, allocations: 119.5 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.9374, allocations: 95.59 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.9374, allocations: 12 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008599/0.9383, allocations: 383.2 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.9384, allocations: 39.89 kB / 1.283 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.9385, allocations: 87.58 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006285/0.9391, allocations: 353.3 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9391, allocations: 0 / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9391, allocations: 0 / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.9391, allocations: 0 / 1.284 GB, free: 10.67 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.0008813/0.94, allocations: 437.5 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.94, allocations: 12.03 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.9403, allocations: 32.83 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.9405, allocations: 158.2 kB / 1.284 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.9406, allocations: 12.7 kB / 1.284 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.9406, allocations: 12.38 kB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.9411, allocations: 256.3 kB / 1.284 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9411, allocations: 4 kB / 1.284 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.9411, allocations: 8 kB / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.9411, allocations: 7.938 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.9417, allocations: 443.5 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.943, allocations: 0.9246 MB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.9433, allocations: 143.1 kB / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.9434, allocations: 56.78 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008241/0.9442, allocations: 467.9 kB / 1.286 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.9442, allocations: 34.56 kB / 1.286 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.9442, allocations: 0 / 1.286 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003738/0.9446, allocations: 145.5 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.9447, allocations: 59.34 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.9448, allocations: 171.9 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.9449, allocations: 33.7 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.945, allocations: 148.1 kB / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.945, allocations: 51.52 kB / 1.287 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.9451, allocations: 61.64 kB / 1.287 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.9453, allocations: 326.8 kB / 1.287 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.9454, allocations: 35.98 kB / 1.287 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.9455, allocations: 145.7 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.9458, allocations: 204.3 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9458, allocations: 0 / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003699/0.9462, allocations: 213.3 kB / 1.288 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.9462, allocations: 8 kB / 1.288 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9462, allocations: 0 / 1.288 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.9462, allocations: 11.98 kB / 1.288 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.9464, allocations: 51.86 kB / 1.288 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9464, allocations: 11.92 kB / 1.288 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.9465, allocations: 31.73 kB / 1.288 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.9465, allocations: 20.28 kB / 1.288 GB, free: 5.652 MB / 0.9825 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.0001417/0.9467, allocations: 133.8 kB / 1.288 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.9467, allocations: 11.95 kB / 1.288 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.9471, allocations: 154.9 kB / 1.288 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.9471, allocations: 3.938 kB / 1.288 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9471, allocations: 4 kB / 1.288 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.9471, allocations: 0 / 1.288 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.9474, allocations: 188.6 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.9474, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.9475, allocations: 31.92 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9475, allocations: 4 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.9475, allocations: 0 / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.821e-05/0.9475, allocations: 7.938 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9475, allocations: 0 / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.9478, allocations: 220.9 kB / 1.289 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.9478, allocations: 27.88 kB / 1.289 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.9479, allocations: 8 kB / 1.289 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.9481, allocations: 23.86 kB / 1.289 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.9481, allocations: 11.98 kB / 1.289 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.9481, allocations: 15.92 kB / 1.289 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001018/0.9482, allocations: 120 kB / 1.289 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9482, allocations: 3.938 kB / 1.289 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000416/0.9486, allocations: 75.88 kB / 1.289 GB, free: 4.555 MB / 0.9825 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.0003414/0.949, allocations: 183 kB / 1.289 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.9492, allocations: 109.7 kB / 1.289 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9492, allocations: 0 / 1.289 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.9493, allocations: 48.84 kB / 1.289 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.9497, allocations: 43.97 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.9505, allocations: 360 kB / 1.29 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.9509, allocations: 0.709 MB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.9511, allocations: 57.72 kB / 1.291 GB, free: 3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.9511, allocations: 19.44 kB / 1.291 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.9511, allocations: 4 kB / 1.291 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of Templates: time 0.00816/0.9593, allocations: 3.56 MB / 1.294 GB, free: 15.46 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.345927328802645]