Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001773/0.001773, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002143/0.002143, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.528/1.528, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.827/2.827, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.053e-06, allocations: 4 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/3.189e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02051/0.02054, allocations: 11.96 MB / 0.7981 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.02398, allocations: 2.418 MB / 0.8005 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.02406, allocations: 0 / 0.8005 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.02438, allocations: 47.67 kB / 0.8005 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.02469, allocations: 107.2 kB / 0.8006 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.02601, allocations: 0.5287 MB / 0.8011 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.02634, allocations: 235.8 kB / 0.8014 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.02639, allocations: 17.8 kB / 0.8014 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008614/0.035, allocations: 3.632 MB / 0.8049 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.03519, allocations: 75.77 kB / 0.805 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.03522, allocations: 8 kB / 0.805 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.03792, allocations: 1.042 MB / 0.806 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.03799, allocations: 35.89 kB / 0.806 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.03809, allocations: 67.81 kB / 0.8061 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.03877, allocations: 382.8 kB / 0.8065 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.03877, allocations: 0 / 0.8065 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.132e-06/0.03877, allocations: 0 / 0.8065 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.03878, allocations: 0 / 0.8065 GB, free: 8.211 MB / 0.7605 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.0008412/0.03962, allocations: 445.4 kB / 0.8069 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.03966, allocations: 12.03 kB / 0.8069 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.03987, allocations: 44.7 kB / 0.807 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.04019, allocations: 165.5 kB / 0.8071 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.0402, allocations: 8.703 kB / 0.8071 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.04024, allocations: 24.38 kB / 0.8071 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.04084, allocations: 483.9 kB / 0.8076 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.04085, allocations: 192 / 0.8076 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.04088, allocations: 16.12 kB / 0.8076 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.04091, allocations: 7.984 kB / 0.8076 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.04149, allocations: 423.5 kB / 0.808 GB, free: 6.488 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.04269, allocations: 0.7818 MB / 0.8088 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.04306, allocations: 152.3 kB / 0.8089 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.04317, allocations: 55.06 kB / 0.809 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008147/0.04398, allocations: 471.8 kB / 0.8094 GB, free: 4.969 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.04401, allocations: 34.56 kB / 0.8095 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.04402, allocations: 4 kB / 0.8095 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0003681/0.04438, allocations: 145.5 kB / 0.8096 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.04443, allocations: 59.34 kB / 0.8097 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.0446, allocations: 160.1 kB / 0.8098 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.04463, allocations: 29.7 kB / 0.8099 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.04475, allocations: 144.1 kB / 0.81 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.04481, allocations: 55.53 kB / 0.81 GB, free: 4.301 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.04489, allocations: 53.69 kB / 0.8101 GB, free: 4.242 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.04507, allocations: 322.8 kB / 0.8104 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.04515, allocations: 43.91 kB / 0.8105 GB, free: 3.875 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.04533, allocations: 137.7 kB / 0.8106 GB, free: 3.691 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.04561, allocations: 201.5 kB / 0.8108 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.04562, allocations: 4 kB / 0.8108 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003935/0.04601, allocations: 227.5 kB / 0.811 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.04603, allocations: 8 kB / 0.811 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.04604, allocations: 4 kB / 0.811 GB, free: 3.203 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.04606, allocations: 7.938 kB / 0.811 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.04626, allocations: 55.91 kB / 0.8111 GB, free: 3.141 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.04627, allocations: 8 kB / 0.8111 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.04638, allocations: 27.78 kB / 0.8111 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.0464, allocations: 12 kB / 0.8111 GB, free: 3.094 MB / 0.7605 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.0001334/0.04654, allocations: 133.7 kB / 0.8112 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.04659, allocations: 20.03 kB / 0.8113 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.04695, allocations: 166.3 kB / 0.8114 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.04696, allocations: 0 / 0.8114 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.04696, allocations: 0 / 0.8114 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.04696, allocations: 0 / 0.8114 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.0472, allocations: 161.1 kB / 0.8116 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.0472, allocations: 0 / 0.8116 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.04732, allocations: 27.98 kB / 0.8116 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.04733, allocations: 0 / 0.8116 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.04734, allocations: 4 kB / 0.8116 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.04734, allocations: 8 kB / 0.8116 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.04734, allocations: 3.984 kB / 0.8116 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.04765, allocations: 224.2 kB / 0.8118 GB, free: 2.301 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.04772, allocations: 31.81 kB / 0.8119 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.04775, allocations: 11.98 kB / 0.8119 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.04794, allocations: 4 kB / 0.8119 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.04797, allocations: 15.97 kB / 0.8119 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.04799, allocations: 8 kB / 0.8119 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003486/0.04834, allocations: 113.3 kB / 0.812 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.04834, allocations: 0 / 0.812 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004082/0.04875, allocations: 87.86 kB / 0.8121 GB, free: 2.035 MB / 0.7605 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.000365/0.04912, allocations: 194.8 kB / 0.8123 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.04937, allocations: 118.6 kB / 0.8124 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.04937, allocations: 0 / 0.8124 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.04944, allocations: 39.92 kB / 0.8124 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.04985, allocations: 50.28 kB / 0.8125 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.05055, allocations: 325.4 kB / 0.8128 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.05066, allocations: 102.5 kB / 0.8129 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.05083, allocations: 49.27 kB / 0.8129 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.05088, allocations: 20.5 kB / 0.8129 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/0.05088, allocations: 0 / 0.8129 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of Templates: time 0.007856/0.05874, allocations: 3.376 MB / 0.8162 GB, free: 13.8 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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: 7.984644745942205]