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.001395/0.001395, allocations: 88.72 kB / 19.44 MB, free: 356 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.001603/0.001603, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.518/1.518, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.223/3.223, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.623e-06/1.623e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.457e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006521/0.006556, allocations: 3.895 MB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003774/0.01033, allocations: 2.235 MB / 0.8836 GB, free: 340 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.01044, allocations: 3.938 kB / 0.8836 GB, free: 336 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.01077, allocations: 43.69 kB / 0.8837 GB, free: 292 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.01113, allocations: 107.2 kB / 0.8838 GB, free: 184 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.0128, allocations: 0.5624 MB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.01322, allocations: 263.7 kB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.01328, allocations: 9.812 kB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.01366, allocations: 155.6 kB / 0.8847 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.01386, allocations: 79.77 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.0139, allocations: 8 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009563/0.01485, allocations: 403 kB / 0.8852 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.01496, allocations: 47.86 kB / 0.8852 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.01507, allocations: 59.84 kB / 0.8853 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009727/0.01604, allocations: 442.7 kB / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01604, allocations: 0 / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01604, allocations: 0 / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.01605, allocations: 0 / 0.8857 GB, free: 14.18 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.0009658/0.01702, allocations: 457.3 kB / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.01706, allocations: 8.031 kB / 0.8862 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.01934, allocations: 256.1 kB / 0.8864 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.01976, allocations: 153.5 kB / 0.8866 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.01979, allocations: 16.69 kB / 0.8866 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.01984, allocations: 24.38 kB / 0.8866 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009221/0.02077, allocations: 0.5023 MB / 0.8871 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.02078, allocations: 4.125 kB / 0.8871 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.02083, allocations: 12.12 kB / 0.8871 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.02085, allocations: 4 kB / 0.8871 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/0.02161, allocations: 247.6 kB / 0.8873 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.02357, allocations: 1.154 MB / 0.8885 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.0246, allocations: 190.5 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.02485, allocations: 64.81 kB / 0.8887 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.02488, allocations: 4 kB / 0.8887 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.02493, allocations: 46.44 kB / 0.8888 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.02493, allocations: 0 / 0.8888 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0009346/0.02587, allocations: 249.4 kB / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.02592, allocations: 55.41 kB / 0.8891 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.0261, allocations: 148 kB / 0.8892 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.02615, allocations: 33.7 kB / 0.8892 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.02626, allocations: 128.2 kB / 0.8894 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.02634, allocations: 63.44 kB / 0.8894 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.02645, allocations: 53.92 kB / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.02667, allocations: 322.8 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.0269, allocations: 60.42 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.02721, allocations: 152.4 kB / 0.89 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.02778, allocations: 219.7 kB / 0.8902 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02779, allocations: 4 kB / 0.8902 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007186/0.02851, allocations: 265.1 kB / 0.8904 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.02852, allocations: 7.938 kB / 0.8904 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.02853, allocations: 4 kB / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.02856, allocations: 4.312 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.029, allocations: 79.88 kB / 0.8905 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.02901, allocations: 4 kB / 0.8905 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.02928, allocations: 23.88 kB / 0.8906 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.0293, allocations: 12 kB / 0.8906 GB, free: 8.863 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.0001659/0.02947, allocations: 129.7 kB / 0.8907 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.02955, allocations: 23.84 kB / 0.8907 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007086/0.03025, allocations: 232.8 kB / 0.8909 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.03026, allocations: 4 kB / 0.8909 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.03027, allocations: 4 kB / 0.8909 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.03027, allocations: 0 / 0.8909 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.03059, allocations: 173.2 kB / 0.8911 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.03059, allocations: 0 / 0.8911 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.03093, allocations: 51.91 kB / 0.8912 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.03094, allocations: 0 / 0.8912 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.03096, allocations: 11.92 kB / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.03096, allocations: 0 / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.03097, allocations: 4 kB / 0.8912 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.03162, allocations: 295.4 kB / 0.8915 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.03172, allocations: 27.88 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.03175, allocations: 7.938 kB / 0.8915 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.03205, allocations: 15.98 kB / 0.8915 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.03208, allocations: 11.97 kB / 0.8915 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.03211, allocations: 12 kB / 0.8915 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.9e-05/0.03221, allocations: 101.9 kB / 0.8916 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03221, allocations: 8 kB / 0.8916 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00042/0.03263, allocations: 67.94 kB / 0.8917 GB, free: 7.645 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.000281/0.03291, allocations: 146.9 kB / 0.8918 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006073/0.03352, allocations: 173.9 kB / 0.892 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.03352, allocations: 0 / 0.892 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.03377, allocations: 80.5 kB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.03436, allocations: 75.86 kB / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.03547, allocations: 388.8 kB / 0.8925 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.0356, allocations: 107.1 kB / 0.8926 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000292/0.0359, allocations: 49.45 kB / 0.8927 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.03601, allocations: 28.48 kB / 0.8927 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.03601, allocations: 0 / 0.8927 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.008755/0.04476, allocations: 3.459 MB / 0.8961 GB, free: 3.242 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 800] 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.367604959057644]