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.001176/0.001176, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.001094/0.001094, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.9607/0.9607, allocations: 177.1 MB / 204.5 MB, free: 5.098 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.362/2.362, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.503e-06/1.503e-06, allocations: 0 / 0.8794 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.195e-05, allocations: 3.406 kB / 0.8794 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.01217/0.0122, allocations: 4.208 MB / 0.8836 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005897/0.0181, allocations: 2.564 MB / 0.8861 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.01827, allocations: 4 kB / 0.8861 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.01861, allocations: 51.64 kB / 0.8861 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.01922, allocations: 115.2 kB / 0.8862 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.02074, allocations: 0.6261 MB / 0.8868 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.02111, allocations: 299.7 kB / 0.8871 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.02117, allocations: 5.812 kB / 0.8871 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.02144, allocations: 163.6 kB / 0.8873 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.02158, allocations: 83.75 kB / 0.8874 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.02161, allocations: 8 kB / 0.8874 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006891/0.0223, allocations: 427 kB / 0.8878 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.723e-05/0.02238, allocations: 43.89 kB / 0.8878 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.02246, allocations: 63.78 kB / 0.8879 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.02313, allocations: 418.8 kB / 0.8883 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.02314, allocations: 0 / 0.8883 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.112e-06/0.02314, allocations: 4 kB / 0.8883 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.02315, allocations: 4 kB / 0.8883 GB, free: 12.9 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.001346/0.02449, allocations: 0.5309 MB / 0.8888 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.02453, allocations: 12.03 kB / 0.8888 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.0257, allocations: 248.1 kB / 0.8891 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.02596, allocations: 152.4 kB / 0.8892 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.02599, allocations: 16.7 kB / 0.8892 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.02602, allocations: 16.38 kB / 0.8892 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.02654, allocations: 487.4 kB / 0.8897 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.02656, allocations: 192 / 0.8897 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.02659, allocations: 16.12 kB / 0.8897 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.02662, allocations: 19.91 kB / 0.8897 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.02685, allocations: 157.1 kB / 0.8899 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.02813, allocations: 1.592 MB / 0.8914 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.02843, allocations: 134.5 kB / 0.8916 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.02849, allocations: 47.66 kB / 0.8916 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.02852, allocations: 4 kB / 0.8916 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.02856, allocations: 41.39 kB / 0.8917 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.214e-06/0.02856, allocations: 0 / 0.8917 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003419/0.0289, allocations: 177.3 kB / 0.8918 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.02894, allocations: 51.41 kB / 0.8919 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.02905, allocations: 208 kB / 0.8921 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.02907, allocations: 25.7 kB / 0.8921 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.02916, allocations: 182.9 kB / 0.8923 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.0292, allocations: 67.36 kB / 0.8923 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.02927, allocations: 55.56 kB / 0.8924 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.02942, allocations: 0.4923 MB / 0.8929 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.02949, allocations: 32.44 kB / 0.8929 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.0296, allocations: 166.2 kB / 0.8931 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.02979, allocations: 190.8 kB / 0.8932 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02979, allocations: 0 / 0.8932 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002553/0.03005, allocations: 201.1 kB / 0.8934 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.03006, allocations: 4 kB / 0.8934 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.03007, allocations: 8.25 kB / 0.8934 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.03008, allocations: 8 kB / 0.8934 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.03029, allocations: 67.89 kB / 0.8935 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.0303, allocations: 7.984 kB / 0.8935 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.0304, allocations: 19.89 kB / 0.8935 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.03041, allocations: 11.98 kB / 0.8936 GB, free: 7.086 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.000107/0.03052, allocations: 172.5 kB / 0.8937 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.03057, allocations: 19.91 kB / 0.8937 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.03086, allocations: 180.9 kB / 0.8939 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.03086, allocations: 0 / 0.8939 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.03086, allocations: 0 / 0.8939 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.03087, allocations: 4 kB / 0.8939 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.03105, allocations: 161.1 kB / 0.8941 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.03105, allocations: 0 / 0.8941 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.03121, allocations: 43.97 kB / 0.8941 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.03121, allocations: 4 kB / 0.8941 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.03123, allocations: 4 kB / 0.8941 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.03123, allocations: 3.984 kB / 0.8941 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.03123, allocations: 3.938 kB / 0.8941 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.0315, allocations: 291.7 kB / 0.8944 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.03158, allocations: 39.8 kB / 0.8944 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.0316, allocations: 0 / 0.8944 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.03172, allocations: 15.98 kB / 0.8945 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.03175, allocations: 19.91 kB / 0.8945 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.03177, allocations: 4 kB / 0.8945 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.03183, allocations: 137.5 kB / 0.8946 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.03183, allocations: 0 / 0.8946 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002834/0.03211, allocations: 75.88 kB / 0.8947 GB, free: 5.867 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.0002116/0.03232, allocations: 143 kB / 0.8948 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.03252, allocations: 124.1 kB / 0.8949 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.03253, allocations: 4 kB / 0.8949 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.0326, allocations: 77.11 kB / 0.895 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.03295, allocations: 75.86 kB / 0.8951 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.03379, allocations: 366.7 kB / 0.8954 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.03423, allocations: 73.34 kB / 0.8955 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.03442, allocations: 49.45 kB / 0.8955 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.03465, allocations: 146.1 kB / 0.8957 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of SimCode: time 1.382e-06/0.03465, allocations: 4 kB / 0.8957 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of Templates: time 0.006576/0.04122, allocations: 3.871 MB / 0.8995 GB, free: 1.008 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: 6.282297446858138]