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.001419/0.001419, allocations: 82.25 kB / 19.18 MB, free: 2.516 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.001513/0.001513, allocations: 168.1 kB / 22.46 MB, free: 5.379 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.838/2.838, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 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 2.635e-06/2.635e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.467e-05/3.73e-05, allocations: 10.16 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01858/0.01862, allocations: 11.95 MB / 0.9627 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.02198, allocations: 2.414 MB / 0.965 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.02209, allocations: 7.938 kB / 0.9651 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.02247, allocations: 43.69 kB / 0.9651 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.02283, allocations: 103.2 kB / 0.9652 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.02432, allocations: 0.5425 MB / 0.9657 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.02469, allocations: 243.8 kB / 0.966 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.02474, allocations: 9.812 kB / 0.966 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009832/0.03457, allocations: 3.626 MB / 0.9695 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.03481, allocations: 79.77 kB / 0.9696 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.03485, allocations: 8 kB / 0.9696 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.03808, allocations: 1.052 MB / 0.9706 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.03817, allocations: 35.83 kB / 0.9707 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.03829, allocations: 59.89 kB / 0.9707 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009213/0.03921, allocations: 386.8 kB / 0.9711 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.03921, allocations: 0 / 0.9711 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.013e-06/0.03922, allocations: 0 / 0.9711 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.03922, allocations: 4 kB / 0.9711 GB, free: 6.867 MB / 0.8731 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.001042/0.04027, allocations: 457.3 kB / 0.9715 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.04031, allocations: 8.031 kB / 0.9715 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.04051, allocations: 20.84 kB / 0.9715 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.0409, allocations: 157.6 kB / 0.9717 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.04093, allocations: 8.703 kB / 0.9717 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.04096, allocations: 16.38 kB / 0.9717 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.04163, allocations: 487.9 kB / 0.9722 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.04164, allocations: 192 / 0.9722 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.04167, allocations: 20.12 kB / 0.9722 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.0417, allocations: 4 kB / 0.9722 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.04231, allocations: 427.3 kB / 0.9726 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.04357, allocations: 0.7818 MB / 0.9734 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.04394, allocations: 155.3 kB / 0.9735 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.04404, allocations: 56.88 kB / 0.9736 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008149/0.04486, allocations: 463.9 kB / 0.974 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.04489, allocations: 34.5 kB / 0.9741 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.04489, allocations: 4 kB / 0.9741 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003858/0.04528, allocations: 146.9 kB / 0.9742 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.04532, allocations: 51.41 kB / 0.9743 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.0455, allocations: 166.5 kB / 0.9744 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.04554, allocations: 29.7 kB / 0.9744 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.04564, allocations: 148 kB / 0.9746 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.0457, allocations: 51.53 kB / 0.9746 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.04577, allocations: 53.66 kB / 0.9747 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.04593, allocations: 330.8 kB / 0.975 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.046, allocations: 31.98 kB / 0.975 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.04618, allocations: 150.1 kB / 0.9752 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.04647, allocations: 196.4 kB / 0.9754 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.04647, allocations: 4 kB / 0.9754 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003947/0.04687, allocations: 213.2 kB / 0.9756 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.0469, allocations: 8 kB / 0.9756 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.04691, allocations: 4 kB / 0.9756 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.04694, allocations: 7.984 kB / 0.9756 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.04715, allocations: 59.86 kB / 0.9756 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.04716, allocations: 4 kB / 0.9756 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.04729, allocations: 31.77 kB / 0.9757 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.04731, allocations: 12.38 kB / 0.9757 GB, free: 1.789 MB / 0.8731 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.000169/0.04748, allocations: 137.7 kB / 0.9758 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.04754, allocations: 15.91 kB / 0.9758 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.04795, allocations: 158.2 kB / 0.976 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.04796, allocations: 0 / 0.976 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.04796, allocations: 0 / 0.976 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.04798, allocations: 7.984 kB / 0.976 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.04823, allocations: 157.1 kB / 0.9761 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.04823, allocations: 0 / 0.9761 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.04835, allocations: 27.98 kB / 0.9762 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.04835, allocations: 4 kB / 0.9762 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.04837, allocations: 8 kB / 0.9762 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.04837, allocations: 0 / 0.9762 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.04837, allocations: 3.938 kB / 0.9762 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.04866, allocations: 212.5 kB / 0.9764 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.04873, allocations: 39.84 kB / 0.9764 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.04875, allocations: 0 / 0.9764 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.04896, allocations: 15.98 kB / 0.9764 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.04899, allocations: 7.984 kB / 0.9764 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.04902, allocations: 15.98 kB / 0.9765 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.81e-05/0.04912, allocations: 111.2 kB / 0.9766 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6e-08/0.04912, allocations: 0 / 0.9766 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004114/0.04953, allocations: 83.77 kB / 0.9766 GB, free: 0.7422 MB / 0.8731 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.0004219/0.04995, allocations: 198.9 kB / 0.9768 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.05024, allocations: 113.9 kB / 0.9769 GB, free: 440 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.05024, allocations: 0 / 0.9769 GB, free: 440 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.05031, allocations: 39.97 kB / 0.977 GB, free: 400 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.05073, allocations: 48.83 kB / 0.977 GB, free: 352 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007525/0.05148, allocations: 306.3 kB / 0.9773 GB, free: 16 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.05162, allocations: 102.5 kB / 0.9774 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.05178, allocations: 45.27 kB / 0.9775 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.05183, allocations: 28.5 kB / 0.9775 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of SimCode: time 4.1e-07/0.05183, allocations: 0 / 0.9775 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.008962/0.06079, allocations: 3.359 MB / 0.9808 GB, free: 12.54 MB / 0.8887 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: 8.312652677297592]