Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001374/0.001374, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.002019/0.002019, allocations: 172.5 kB / 24.87 MB, free: 8.695 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.824/1.824, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.538e-05, allocations: 11.8 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004646/0.004662, allocations: 3.438 MB / 0.7917 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 8.491e-05/0.004746, allocations: 49.02 kB / 0.7917 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.004769, allocations: 3.938 kB / 0.7917 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.406e-05/0.004853, allocations: 8.688 kB / 0.7917 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.004919, allocations: 13.5 kB / 0.7917 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.005417, allocations: 227.3 kB / 0.792 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.005494, allocations: 31.86 kB / 0.792 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.005527, allocations: 3.984 kB / 0.792 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.005578, allocations: 23.97 kB / 0.792 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.005637, allocations: 4 kB / 0.792 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.005651, allocations: 7.984 kB / 0.792 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.005895, allocations: 139.5 kB / 0.7922 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.005934, allocations: 11.97 kB / 0.7922 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.00595, allocations: 4 kB / 0.7922 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.006169, allocations: 136.3 kB / 0.7923 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.00617, allocations: 1.656 kB / 0.7923 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.006171, allocations: 0 / 0.7923 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.006174, allocations: 0 / 0.7923 GB, free: 8.133 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006139/0.006788, allocations: 372.2 kB / 0.7927 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.006822, allocations: 19.91 kB / 0.7927 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.006856, allocations: 6.797 kB / 0.7927 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.00694, allocations: 108.6 kB / 0.7928 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.006998, allocations: 51.97 kB / 0.7928 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.007007, allocations: 1.719 kB / 0.7928 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.007109, allocations: 76.66 kB / 0.7929 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.007118, allocations: 192 / 0.7929 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.007126, allocations: 3.938 kB / 0.7929 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.007146, allocations: 5.406 kB / 0.7929 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.007171, allocations: 7.984 kB / 0.7929 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.00754, allocations: 276.4 kB / 0.7932 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.871e-05/0.007579, allocations: 31.59 kB / 0.7932 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.007591, allocations: 9.281 kB / 0.7932 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/0.007667, allocations: 35.97 kB / 0.7933 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.007696, allocations: 41.33 kB / 0.7933 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.007697, allocations: 0 / 0.7933 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.007808, allocations: 38.64 kB / 0.7933 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.007835, allocations: 51.41 kB / 0.7934 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.007913, allocations: 166.4 kB / 0.7935 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.007926, allocations: 26.23 kB / 0.7936 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.007992, allocations: 130.8 kB / 0.7937 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.007997, allocations: 5.016 kB / 0.7937 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.008031, allocations: 23.38 kB / 0.7937 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.008159, allocations: 0.4923 MB / 0.7942 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.008166, allocations: 0.625 kB / 0.7942 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.008188, allocations: 19.91 kB / 0.7942 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.00822, allocations: 24.69 kB / 0.7942 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008222, allocations: 0 / 0.7942 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.889e-05/0.008301, allocations: 54.72 kB / 0.7943 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.008311, allocations: 8 kB / 0.7943 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.008315, allocations: 3.938 kB / 0.7943 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.008325, allocations: 0.9375 kB / 0.7943 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.863e-05/0.008363, allocations: 7.984 kB / 0.7943 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008368, allocations: 4.812 kB / 0.7943 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.008386, allocations: 0 / 0.7943 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.008394, allocations: 4.938 kB / 0.7943 GB, free: 5.84 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.508e-05/0.008469, allocations: 156.6 kB / 0.7945 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.008495, allocations: 9.234 kB / 0.7945 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.008606, allocations: 168 kB / 0.7946 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.517e-05/0.008682, allocations: 268 kB / 0.7949 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.999e-05/0.008762, allocations: 273 kB / 0.7952 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.729e-05/0.008839, allocations: 268 kB / 0.7954 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.009062, allocations: 484.5 kB / 0.7959 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.47e-05/0.009107, allocations: 151.1 kB / 0.796 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.009152, allocations: 148.9 kB / 0.7962 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.946e-05/0.009252, allocations: 264.1 kB / 0.7964 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.009332, allocations: 272 kB / 0.7967 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.996e-05/0.009412, allocations: 272 kB / 0.7969 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.412e-05/0.009486, allocations: 272 kB / 0.7972 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.009643, allocations: 439.5 kB / 0.7976 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.009695, allocations: 156.8 kB / 0.7978 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/0.009787, allocations: 268.1 kB / 0.798 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.00992, allocations: 160.8 kB / 0.7982 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.01, allocations: 268.1 kB / 0.7984 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.01005, allocations: 149.2 kB / 0.7986 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.0101, allocations: 127.2 kB / 0.7987 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.0101, allocations: 0 / 0.7987 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002865/0.01039, allocations: 43.75 kB / 0.7987 GB, free: 1.145 MB / 0.7448 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 (0): * Single equations (assignments): 0 * 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.0002608/0.01065, allocations: 276.8 kB / 0.799 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.23e-05/0.01072, allocations: 19.67 kB / 0.799 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01072, allocations: 4.844 kB / 0.799 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.01072, allocations: 0 / 0.799 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.01146, allocations: 0.7166 MB / 0.7997 GB, free: 128 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.01186, allocations: 236.2 kB / 0.7999 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.0119, allocations: 55.34 kB / 0.8 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.518e-05/0.01194, allocations: 7.188 kB / 0.8 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.01202, allocations: 86.17 kB / 0.8001 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/0.01202, allocations: 0 / 0.8001 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of Templates: time 0.003783/0.01581, allocations: 1.359 MB / 0.8014 GB, free: 14.4 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.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.1864261301234365]