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.001058/0.001058, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000988/0.000988, allocations: 173 kB / 23.49 MB, free: 1.062 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.9271/0.9271, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.091/2.091, allocations: 429.5 MB / 0.6736 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.443e-06/1.443e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.841e-05, allocations: 3.844 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.01134/0.01136, allocations: 4.861 MB / 0.883 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.01383, allocations: 2.817 MB / 0.8857 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.0139, allocations: 11.94 kB / 0.8857 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.01415, allocations: 43.69 kB / 0.8858 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.01438, allocations: 99.23 kB / 0.8859 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.01539, allocations: 0.5248 MB / 0.8864 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.01562, allocations: 247.8 kB / 0.8866 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.01566, allocations: 9.797 kB / 0.8866 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.01587, allocations: 159.5 kB / 0.8868 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.016, allocations: 79.77 kB / 0.8868 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.01602, allocations: 8 kB / 0.8868 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.0164, allocations: 311.2 kB / 0.8871 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.01646, allocations: 47.81 kB / 0.8872 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.01652, allocations: 55.91 kB / 0.8872 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.01692, allocations: 366.8 kB / 0.8876 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01692, allocations: 0 / 0.8876 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.61e-07/0.01692, allocations: 4 kB / 0.8876 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.01693, allocations: 0 / 0.8876 GB, free: 12.96 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.0005743/0.0175, allocations: 0.5349 MB / 0.8881 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.01754, allocations: 8.031 kB / 0.8881 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.01768, allocations: 48.67 kB / 0.8882 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.01784, allocations: 164.3 kB / 0.8883 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.01786, allocations: 16.64 kB / 0.8883 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.01788, allocations: 16.38 kB / 0.8884 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.01816, allocations: 430.2 kB / 0.8888 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.01817, allocations: 4.188 kB / 0.8888 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.01819, allocations: 16.11 kB / 0.8888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.01822, allocations: 8 kB / 0.8888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.01846, allocations: 300.2 kB / 0.8891 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.01921, allocations: 0.9833 MB / 0.89 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.01942, allocations: 133.1 kB / 0.8902 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.01948, allocations: 47.7 kB / 0.8902 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.01996, allocations: 0.5426 MB / 0.8907 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.01998, allocations: 41.33 kB / 0.8908 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.01998, allocations: 0 / 0.8908 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002264/0.02021, allocations: 120.9 kB / 0.8909 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.02024, allocations: 55.41 kB / 0.891 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.02035, allocations: 231.5 kB / 0.8912 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.02037, allocations: 25.7 kB / 0.8912 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.02044, allocations: 186.9 kB / 0.8914 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.02046, allocations: 59.53 kB / 0.8914 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.02052, allocations: 63.3 kB / 0.8915 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.02062, allocations: 0.5 MB / 0.892 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.02066, allocations: 27.97 kB / 0.892 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.02076, allocations: 180.2 kB / 0.8922 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.02091, allocations: 222.8 kB / 0.8924 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02091, allocations: 0 / 0.8924 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002002/0.02112, allocations: 213.1 kB / 0.8926 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.02113, allocations: 8 kB / 0.8926 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.02113, allocations: 4 kB / 0.8926 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.02114, allocations: 4 kB / 0.8926 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.02125, allocations: 63.91 kB / 0.8927 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.02126, allocations: 12.34 kB / 0.8927 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.02131, allocations: 27.83 kB / 0.8927 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.02132, allocations: 16 kB / 0.8927 GB, free: 7.258 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 7.245e-05/0.0214, allocations: 180.4 kB / 0.8929 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.02142, allocations: 15.95 kB / 0.8929 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.02161, allocations: 149.1 kB / 0.8931 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.02162, allocations: 0 / 0.8931 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.02163, allocations: 0 / 0.8931 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.02163, allocations: 0 / 0.8931 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.02213, allocations: 164.5 kB / 0.8932 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.02213, allocations: 0 / 0.8932 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.02219, allocations: 39.92 kB / 0.8933 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.02219, allocations: 0 / 0.8933 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.0222, allocations: 3.984 kB / 0.8933 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.0222, allocations: 4 kB / 0.8933 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0222, allocations: 0 / 0.8933 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.02236, allocations: 263.7 kB / 0.8935 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.02241, allocations: 39.75 kB / 0.8935 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.02242, allocations: 4 kB / 0.8936 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.0225, allocations: 7.984 kB / 0.8936 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.02252, allocations: 15.98 kB / 0.8936 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.02254, allocations: 11.98 kB / 0.8936 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.177e-05/0.02259, allocations: 149.6 kB / 0.8937 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02259, allocations: 0 / 0.8937 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002402/0.02283, allocations: 79.86 kB / 0.8938 GB, free: 6.086 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.0002189/0.02305, allocations: 182.9 kB / 0.894 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.02321, allocations: 119.9 kB / 0.8941 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.02321, allocations: 0 / 0.8941 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.02327, allocations: 50.55 kB / 0.8941 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.02355, allocations: 44.84 kB / 0.8942 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.02424, allocations: 331.1 kB / 0.8945 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.973e-05/0.02428, allocations: 68 kB / 0.8946 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.675e-05/0.02437, allocations: 49.27 kB / 0.8946 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.02441, allocations: 24.5 kB / 0.8946 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.02441, allocations: 0 / 0.8946 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of Templates: time 0.004672/0.02908, allocations: 3.149 MB / 0.8977 GB, free: 2.094 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.30801019212231]