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.002392/0.002392, allocations: 85.48 kB / 19.44 MB, free: 344 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.002842/0.002842, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] 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 3.403/3.403, allocations: 429.5 MB / 0.6729 GB, free: 3.98 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|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.633e-06/1.633e-06, allocations: 0 / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.859e-05, allocations: 10.19 kB / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006898/0.006926, allocations: 4.171 MB / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003711/0.01064, allocations: 2.542 MB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.01072, allocations: 8 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.011, allocations: 43.69 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.01135, allocations: 107.2 kB / 0.8842 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.01314, allocations: 0.5513 MB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.01353, allocations: 275.7 kB / 0.885 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.01357, allocations: 9.812 kB / 0.885 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.01385, allocations: 151.5 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.01402, allocations: 79.77 kB / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.01406, allocations: 12 kB / 0.8853 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.01489, allocations: 414.9 kB / 0.8857 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.01498, allocations: 39.89 kB / 0.8857 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.01508, allocations: 63.89 kB / 0.8858 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.01586, allocations: 438.6 kB / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01587, allocations: 0 / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01587, allocations: 8 kB / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.01587, allocations: 0 / 0.8862 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.0009192/0.01679, allocations: 0.5345 MB / 0.8867 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.01683, allocations: 12.03 kB / 0.8867 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.01891, allocations: 248 kB / 0.8869 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.01921, allocations: 156.4 kB / 0.8871 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.01923, allocations: 12.7 kB / 0.8871 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.01929, allocations: 28.31 kB / 0.8871 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/0.02011, allocations: 0.5144 MB / 0.8876 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.02012, allocations: 192 / 0.8876 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.02016, allocations: 16.12 kB / 0.8877 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.02018, allocations: 4 kB / 0.8877 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006766/0.02086, allocations: 243.7 kB / 0.8879 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.02289, allocations: 1.63 MB / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.02355, allocations: 194.9 kB / 0.8897 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.02376, allocations: 71.66 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.02379, allocations: 4 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.02383, allocations: 45.31 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.203e-06/0.02383, allocations: 0 / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0007851/0.02462, allocations: 243.6 kB / 0.89 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.02468, allocations: 63.34 kB / 0.8901 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.02487, allocations: 212.4 kB / 0.8903 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.02491, allocations: 29.7 kB / 0.8903 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.02506, allocations: 179 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.02513, allocations: 67.42 kB / 0.8905 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.02524, allocations: 59.58 kB / 0.8906 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002716/0.02551, allocations: 0.4923 MB / 0.8911 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.02571, allocations: 64.42 kB / 0.8911 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.02602, allocations: 163.6 kB / 0.8913 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.02675, allocations: 252.2 kB / 0.8915 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.02675, allocations: 4 kB / 0.8915 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006135/0.02737, allocations: 255.2 kB / 0.8918 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.02738, allocations: 7.938 kB / 0.8918 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.02739, allocations: 4 kB / 0.8918 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.02741, allocations: 4 kB / 0.8918 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.02779, allocations: 71.88 kB / 0.8919 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.0278, allocations: 4 kB / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.02802, allocations: 23.83 kB / 0.8919 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.02805, allocations: 16.3 kB / 0.8919 GB, free: 7.395 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 0.0001608/0.02822, allocations: 172.5 kB / 0.8921 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.02829, allocations: 31.78 kB / 0.8921 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.02894, allocations: 226.6 kB / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.02895, allocations: 4 kB / 0.8923 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02895, allocations: 0 / 0.8923 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.02896, allocations: 0 / 0.8923 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.02925, allocations: 184.6 kB / 0.8925 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02925, allocations: 0 / 0.8925 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.02958, allocations: 59.89 kB / 0.8926 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.02958, allocations: 0 / 0.8926 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.02961, allocations: 3.938 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.02961, allocations: 4 kB / 0.8926 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02961, allocations: 4 kB / 0.8926 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.03026, allocations: 353.6 kB / 0.8929 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.03035, allocations: 27.81 kB / 0.8929 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.0304, allocations: 11.94 kB / 0.8929 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.03064, allocations: 12 kB / 0.893 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.03068, allocations: 11.97 kB / 0.893 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.03071, allocations: 8 kB / 0.893 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001247/0.03083, allocations: 149.8 kB / 0.8931 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03083, allocations: 0 / 0.8931 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003886/0.03122, allocations: 71.89 kB / 0.8932 GB, free: 6.016 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.0002567/0.03148, allocations: 127.2 kB / 0.8933 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005606/0.03204, allocations: 188.1 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03204, allocations: 4 kB / 0.8935 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.03228, allocations: 101.2 kB / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.03285, allocations: 75.73 kB / 0.8937 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.03386, allocations: 385.8 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.03399, allocations: 103.1 kB / 0.8941 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.03424, allocations: 45.47 kB / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.744e-05/0.03434, allocations: 24.48 kB / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.03434, allocations: 0 / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of Templates: time 0.008818/0.04316, allocations: 3.483 MB / 0.8976 GB, free: 1.57 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.706864806008525]