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.001401/0.001401, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001628/0.001628, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.617/1.617, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.962/2.962, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.386e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.01153/0.01156, allocations: 4.515 MB / 0.9858 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006051/0.01761, allocations: 2.461 MB / 0.9882 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.01777, allocations: 0 / 0.9882 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.01817, allocations: 47.62 kB / 0.9883 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.01865, allocations: 95.3 kB / 0.9884 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.02128, allocations: 0.5452 MB / 0.9889 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.02175, allocations: 239.8 kB / 0.9891 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.02183, allocations: 13.8 kB / 0.9892 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.02227, allocations: 159.5 kB / 0.9893 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.02252, allocations: 71.84 kB / 0.9894 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.02258, allocations: 8 kB / 0.9894 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.02372, allocations: 323.1 kB / 0.9897 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.02384, allocations: 43.81 kB / 0.9897 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.02398, allocations: 59.91 kB / 0.9898 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.02501, allocations: 374.8 kB / 0.9902 GB, free: 3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.02501, allocations: 8 kB / 0.9902 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.02501, allocations: 0 / 0.9902 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.02503, allocations: 0 / 0.9902 GB, free: 2.992 MB / 0.9356 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.001212/0.02624, allocations: 441.4 kB / 0.9906 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.02628, allocations: 8.031 kB / 0.9906 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.02663, allocations: 28.83 kB / 0.9906 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.02708, allocations: 157.5 kB / 0.9908 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.0271, allocations: 12.7 kB / 0.9908 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.02714, allocations: 12.38 kB / 0.9908 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.02804, allocations: 499.9 kB / 0.9913 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.02805, allocations: 192 / 0.9913 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/0.02811, allocations: 16.11 kB / 0.9913 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.02815, allocations: 4 kB / 0.9913 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/0.02903, allocations: 423.5 kB / 0.9917 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.03097, allocations: 0.7739 MB / 0.9924 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.03153, allocations: 149.9 kB / 0.9926 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.03171, allocations: 56.88 kB / 0.9926 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.03309, allocations: 451.8 kB / 0.9931 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.03314, allocations: 38.5 kB / 0.9931 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.475e-06/0.03315, allocations: 0 / 0.9931 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0005899/0.03374, allocations: 137.6 kB / 0.9932 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.0338, allocations: 55.41 kB / 0.9933 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.03405, allocations: 162.3 kB / 0.9934 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.03411, allocations: 29.7 kB / 0.9935 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.03426, allocations: 140.1 kB / 0.9936 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/0.03435, allocations: 67.45 kB / 0.9937 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.03447, allocations: 49.66 kB / 0.9937 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.0347, allocations: 326.8 kB / 0.994 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.03484, allocations: 43.97 kB / 0.9941 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.03514, allocations: 137.7 kB / 0.9942 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.03563, allocations: 196.1 kB / 0.9944 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.03564, allocations: 4 kB / 0.9944 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006849/0.03632, allocations: 217.1 kB / 0.9946 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.03635, allocations: 8 kB / 0.9946 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.03636, allocations: 4 kB / 0.9946 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.03638, allocations: 4 kB / 0.9946 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.03676, allocations: 59.91 kB / 0.9947 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.03677, allocations: 8.469 kB / 0.9947 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.03699, allocations: 23.89 kB / 0.9947 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.03702, allocations: 8 kB / 0.9947 GB, free: 13.95 MB / 0.9512 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.0002191/0.03724, allocations: 145.6 kB / 0.9949 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.03735, allocations: 19.84 kB / 0.9949 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.03799, allocations: 150.2 kB / 0.995 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.03801, allocations: 4 kB / 0.995 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.03801, allocations: 3.938 kB / 0.995 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.03802, allocations: 3.938 kB / 0.995 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.0384, allocations: 149.2 kB / 0.9952 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.0384, allocations: 0 / 0.9952 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.03863, allocations: 31.98 kB / 0.9952 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.03863, allocations: 0 / 0.9952 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.03866, allocations: 11.98 kB / 0.9952 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.03867, allocations: 3.938 kB / 0.9952 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03867, allocations: 0 / 0.9952 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.03916, allocations: 230.2 kB / 0.9954 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.03928, allocations: 27.86 kB / 0.9955 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.03931, allocations: 0 / 0.9955 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.03969, allocations: 15.98 kB / 0.9955 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.03973, allocations: 15.97 kB / 0.9955 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.03979, allocations: 12 kB / 0.9955 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001405/0.03993, allocations: 115.8 kB / 0.9956 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03993, allocations: 0 / 0.9956 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000754/0.04068, allocations: 79.83 kB / 0.9957 GB, free: 12.89 MB / 0.9512 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.0005844/0.04127, allocations: 195 kB / 0.9959 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.04163, allocations: 119.7 kB / 0.996 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.04164, allocations: 0 / 0.996 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.04171, allocations: 35.98 kB / 0.996 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.04214, allocations: 47.12 kB / 0.9961 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.04288, allocations: 307.2 kB / 0.9964 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.043, allocations: 107.2 kB / 0.9965 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.04314, allocations: 45.28 kB / 0.9965 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.04319, allocations: 20.5 kB / 0.9965 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.04319, allocations: 0 / 0.9965 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.007989/0.05118, allocations: 3.131 MB / 0.9996 GB, free: 8.926 MB / 0.9512 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 -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/jenkins/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: 8.563315324485302]