Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.0009496/0.0009496, 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.0009538/0.0009538, allocations: 173 kB / 23.49 MB, free: 1.059 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.9667/0.9667, 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.051/2.051, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,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.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,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.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.978e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004264/0.004283, allocations: 4.221 MB / 0.8824 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.006334, allocations: 2.541 MB / 0.8848 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.006407, allocations: 1.875 kB / 0.8848 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.006637, allocations: 43.64 kB / 0.8849 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.006866, allocations: 115.2 kB / 0.885 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.007676, allocations: 0.5492 MB / 0.8855 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.007908, allocations: 275.6 kB / 0.8858 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.007947, allocations: 9.812 kB / 0.8858 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.008129, allocations: 147.6 kB / 0.8859 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.008237, allocations: 83.75 kB / 0.886 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.008257, allocations: 12 kB / 0.886 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.008705, allocations: 403 kB / 0.8864 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.008774, allocations: 51.81 kB / 0.8865 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.008837, allocations: 67.83 kB / 0.8865 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.009281, allocations: 410.8 kB / 0.8869 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009285, allocations: 3.984 kB / 0.8869 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.054e-06/0.009287, allocations: 4 kB / 0.8869 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.009291, allocations: 0 / 0.8869 GB, free: 13.7 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.0005677/0.009859, allocations: 0.5309 MB / 0.8874 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.009896, allocations: 12.03 kB / 0.8875 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.01104, allocations: 248.1 kB / 0.8877 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.01121, allocations: 148.4 kB / 0.8878 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.01123, allocations: 16.69 kB / 0.8879 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.01127, allocations: 20.38 kB / 0.8879 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.01177, allocations: 0.5033 MB / 0.8884 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.01178, allocations: 192 / 0.8884 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.01181, allocations: 16.06 kB / 0.8884 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.01183, allocations: 4 kB / 0.8884 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.01206, allocations: 184.4 kB / 0.8886 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01307, allocations: 1.611 MB / 0.8901 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.01335, allocations: 158.9 kB / 0.8903 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.01343, allocations: 59.66 kB / 0.8903 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.01345, allocations: 4 kB / 0.8903 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.01347, allocations: 45.33 kB / 0.8904 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.01347, allocations: 0 / 0.8904 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003256/0.0138, allocations: 199.7 kB / 0.8906 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.01383, allocations: 55.41 kB / 0.8906 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.01393, allocations: 201.8 kB / 0.8908 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.01395, allocations: 29.7 kB / 0.8909 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.01402, allocations: 175 kB / 0.891 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.01405, allocations: 67.38 kB / 0.8911 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.01411, allocations: 59.58 kB / 0.8911 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01422, allocations: 0.4923 MB / 0.8916 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.01429, allocations: 48.44 kB / 0.8917 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.01442, allocations: 158.2 kB / 0.8918 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.0146, allocations: 202.3 kB / 0.892 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.0146, allocations: 3.938 kB / 0.892 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002528/0.01486, allocations: 231.7 kB / 0.8922 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01487, allocations: 11.94 kB / 0.8922 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01487, allocations: 0 / 0.8922 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01489, allocations: 4 kB / 0.8923 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.01506, allocations: 71.89 kB / 0.8923 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01507, allocations: 4 kB / 0.8923 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.01516, allocations: 23.88 kB / 0.8923 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01518, allocations: 12.31 kB / 0.8924 GB, free: 7.707 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.528e-05/0.01527, allocations: 176.5 kB / 0.8925 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.01531, allocations: 23.84 kB / 0.8926 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.01557, allocations: 195.5 kB / 0.8927 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01558, allocations: 0 / 0.8927 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01558, allocations: 0 / 0.8927 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01558, allocations: 0 / 0.8927 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.01575, allocations: 180.5 kB / 0.8929 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01575, allocations: 0 / 0.8929 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.01588, allocations: 47.95 kB / 0.893 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01588, allocations: 0 / 0.893 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.0159, allocations: 11.94 kB / 0.893 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.0159, allocations: 4 kB / 0.893 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0159, allocations: 0 / 0.893 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.01614, allocations: 321.8 kB / 0.8933 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.01618, allocations: 27.81 kB / 0.8933 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01621, allocations: 7.938 kB / 0.8933 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.01632, allocations: 11.98 kB / 0.8933 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.01634, allocations: 11.98 kB / 0.8933 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.01636, allocations: 7.984 kB / 0.8933 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.01641, allocations: 147.2 kB / 0.8935 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01641, allocations: 4 kB / 0.8935 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002307/0.01664, allocations: 71.83 kB / 0.8936 GB, free: 6.41 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001656/0.01681, allocations: 139.1 kB / 0.8937 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.01703, allocations: 150.3 kB / 0.8938 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01703, allocations: 0 / 0.8938 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.01711, allocations: 77.31 kB / 0.8939 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.01744, allocations: 78.41 kB / 0.894 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.0182, allocations: 370.6 kB / 0.8943 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.398e-05/0.01824, allocations: 72.83 kB / 0.8944 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001986/0.01844, allocations: 53.45 kB / 0.8945 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.01851, allocations: 28.48 kB / 0.8945 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of SimCode: time 8.02e-07/0.01851, allocations: 0 / 0.8945 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of Templates: time 0.005048/0.02356, allocations: 3.485 MB / 0.8979 GB, free: 2.047 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.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.477578717051074]