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.001367/0.001367, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001529/0.001529, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.924/0.924, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.065/2.065, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.875e-05, allocations: 5.922 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004766/0.004795, allocations: 4.877 MB / 0.883 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.007104, allocations: 2.846 MB / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.007201, allocations: 0 / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.007472, allocations: 47.67 kB / 0.8858 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.00773, allocations: 103.3 kB / 0.8859 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.008855, allocations: 0.5676 MB / 0.8864 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.009128, allocations: 247.8 kB / 0.8867 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.009167, allocations: 5.812 kB / 0.8867 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.009374, allocations: 163.6 kB / 0.8868 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.009502, allocations: 79.77 kB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.009526, allocations: 8 kB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.01006, allocations: 335.1 kB / 0.8872 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.01013, allocations: 35.89 kB / 0.8873 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.0102, allocations: 63.84 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.01068, allocations: 358.9 kB / 0.8877 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01069, allocations: 7.938 kB / 0.8877 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01069, allocations: 0 / 0.8877 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.01069, allocations: 0 / 0.8877 GB, free: 12.57 MB / 0.8542 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.0006206/0.01131, allocations: 0.531 MB / 0.8882 GB, free: 12 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.01135, allocations: 12.03 kB / 0.8882 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.01151, allocations: 44.67 kB / 0.8883 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.0117, allocations: 164.3 kB / 0.8884 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.01172, allocations: 12.7 kB / 0.8884 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.01174, allocations: 20.38 kB / 0.8884 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.01205, allocations: 442 kB / 0.8889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.01206, allocations: 192 / 0.8889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.01207, allocations: 12.12 kB / 0.8889 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.0121, allocations: 8 kB / 0.8889 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.01235, allocations: 304.2 kB / 0.8892 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008198/0.01317, allocations: 0.9911 MB / 0.8901 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.01365, allocations: 135 kB / 0.8903 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.01371, allocations: 47.7 kB / 0.8903 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.01421, allocations: 0.527 MB / 0.8908 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.01423, allocations: 41.39 kB / 0.8909 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.01423, allocations: 0 / 0.8909 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000242/0.01448, allocations: 117.6 kB / 0.891 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.01451, allocations: 63.39 kB / 0.891 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01462, allocations: 225.7 kB / 0.8913 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01464, allocations: 29.7 kB / 0.8913 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.01471, allocations: 190.8 kB / 0.8915 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.01474, allocations: 55.53 kB / 0.8915 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.01479, allocations: 59.31 kB / 0.8916 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.0149, allocations: 0.4961 MB / 0.8921 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.01494, allocations: 31.97 kB / 0.8921 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.01504, allocations: 176.5 kB / 0.8923 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.0152, allocations: 233.9 kB / 0.8925 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01521, allocations: 0 / 0.8925 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002111/0.01542, allocations: 209.1 kB / 0.8927 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01543, allocations: 4.469 kB / 0.8927 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01544, allocations: 8 kB / 0.8927 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01545, allocations: 8 kB / 0.8927 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.01557, allocations: 59.91 kB / 0.8928 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.01559, allocations: 4 kB / 0.8928 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.01565, allocations: 23.84 kB / 0.8928 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.01567, allocations: 19.98 kB / 0.8928 GB, free: 6.871 MB / 0.8542 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 9.69e-05/0.01577, allocations: 176.4 kB / 0.893 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.0158, allocations: 15.95 kB / 0.893 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.01603, allocations: 146.2 kB / 0.8931 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.01604, allocations: 4 kB / 0.8931 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01604, allocations: 4 kB / 0.8931 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01605, allocations: 0 / 0.8931 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.0162, allocations: 160.5 kB / 0.8933 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.0162, allocations: 0 / 0.8933 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.01627, allocations: 31.98 kB / 0.8933 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01628, allocations: 0 / 0.8933 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.01629, allocations: 7.984 kB / 0.8933 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01629, allocations: 3.938 kB / 0.8933 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01629, allocations: 0 / 0.8933 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.01649, allocations: 278.9 kB / 0.8936 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.01653, allocations: 35.81 kB / 0.8936 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.01655, allocations: 0 / 0.8936 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.01663, allocations: 15.98 kB / 0.8936 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.01666, allocations: 7.984 kB / 0.8937 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.01667, allocations: 11.98 kB / 0.8937 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.01673, allocations: 145.2 kB / 0.8938 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01673, allocations: 0 / 0.8938 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000271/0.017, allocations: 83.86 kB / 0.8939 GB, free: 5.699 MB / 0.8542 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.0002485/0.01725, allocations: 175 kB / 0.894 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.01743, allocations: 115.9 kB / 0.8942 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01743, allocations: 0 / 0.8942 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.01747, allocations: 51.61 kB / 0.8942 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01774, allocations: 48.83 kB / 0.8943 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007559/0.01849, allocations: 327.1 kB / 0.8946 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.34e-05/0.01854, allocations: 68 kB / 0.8946 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.01864, allocations: 41.41 kB / 0.8947 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.01868, allocations: 24.5 kB / 0.8947 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.01868, allocations: 0 / 0.8947 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of Templates: time 0.005714/0.02439, allocations: 3.478 MB / 0.8981 GB, free: 1.391 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.399611657019705]