Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008469/0.0008469, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.0009222/0.0009222, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.9611/0.9611, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.398/2.398, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/3.917e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005422/0.005461, allocations: 3.451 MB / 0.8931 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.005572, allocations: 55.8 kB / 0.8932 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.005602, allocations: 0 / 0.8932 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.005705, allocations: 0 / 0.8932 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.005786, allocations: 19.84 kB / 0.8932 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.006463, allocations: 211.1 kB / 0.8934 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.614e-05/0.006549, allocations: 35.84 kB / 0.8934 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.00659, allocations: 15.92 kB / 0.8934 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.317e-05/0.006653, allocations: 15.97 kB / 0.8935 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.006729, allocations: 11.94 kB / 0.8935 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.006742, allocations: 0 / 0.8935 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.00706, allocations: 139.5 kB / 0.8936 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.007109, allocations: 11.98 kB / 0.8936 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.007128, allocations: 7.938 kB / 0.8936 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.007393, allocations: 127.7 kB / 0.8937 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.007398, allocations: 3.984 kB / 0.8937 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.512e-06/0.0074, allocations: 7.938 kB / 0.8937 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.007404, allocations: 0 / 0.8937 GB, free: 5.637 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000386/0.00779, allocations: 372.2 kB / 0.8941 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.007835, allocations: 8.625 kB / 0.8941 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.007872, allocations: 8.922 kB / 0.8941 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.71e-05/0.007969, allocations: 104.6 kB / 0.8942 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.008029, allocations: 51.97 kB / 0.8943 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.008039, allocations: 4.375 kB / 0.8943 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.008165, allocations: 76.64 kB / 0.8943 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.008174, allocations: 192 / 0.8943 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.008186, allocations: 23.86 kB / 0.8944 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.008209, allocations: 0 / 0.8944 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.008233, allocations: 4 kB / 0.8944 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.008673, allocations: 287.5 kB / 0.8946 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.008708, allocations: 23.06 kB / 0.8947 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.008722, allocations: 11.75 kB / 0.8947 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.456e-05/0.008817, allocations: 39.84 kB / 0.8947 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.00885, allocations: 41.33 kB / 0.8948 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.008852, allocations: 0 / 0.8948 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.00898, allocations: 37.7 kB / 0.8948 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.009006, allocations: 51.41 kB / 0.8948 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.009095, allocations: 161.9 kB / 0.895 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.009107, allocations: 25.7 kB / 0.895 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.00917, allocations: 134.8 kB / 0.8951 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.009176, allocations: 7.891 kB / 0.8952 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.009212, allocations: 27.36 kB / 0.8952 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.009349, allocations: 496.1 kB / 0.8957 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.009358, allocations: 3.938 kB / 0.8957 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.009381, allocations: 19.38 kB / 0.8957 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.009417, allocations: 31.47 kB / 0.8957 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.009419, allocations: 0 / 0.8957 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.623e-05/0.009495, allocations: 49.58 kB / 0.8958 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.00951, allocations: 8 kB / 0.8958 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009515, allocations: 0 / 0.8958 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.009528, allocations: 0 / 0.8958 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.818e-05/0.009566, allocations: 7.984 kB / 0.8958 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.009569, allocations: 0 / 0.8958 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.00959, allocations: 4 kB / 0.8958 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.009597, allocations: 4.062 kB / 0.8958 GB, free: 3.328 MB / 0.8542 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.329e-05/0.009671, allocations: 156.6 kB / 0.8959 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.009698, allocations: 3.938 kB / 0.8959 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.009828, allocations: 171.7 kB / 0.8961 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-05/0.009902, allocations: 264.1 kB / 0.8963 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.387e-05/0.009976, allocations: 272 kB / 0.8966 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/0.01005, allocations: 264.1 kB / 0.8969 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.01027, allocations: 480.5 kB / 0.8973 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.562e-05/0.01032, allocations: 152.8 kB / 0.8975 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.01036, allocations: 148.9 kB / 0.8976 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-05/0.01043, allocations: 272 kB / 0.8979 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.01051, allocations: 264.4 kB / 0.8981 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.683e-05/0.01058, allocations: 275.9 kB / 0.8984 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.527e-05/0.01066, allocations: 268.1 kB / 0.8986 GB, free: 280 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.01084, allocations: 448.3 kB / 0.8991 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.01089, allocations: 164.8 kB / 0.8992 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.01098, allocations: 276 kB / 0.8995 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.01111, allocations: 152.6 kB / 0.8996 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.01119, allocations: 264.1 kB / 0.8999 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.01123, allocations: 156.8 kB / 0.9 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.01128, allocations: 127.2 kB / 0.9002 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.01128, allocations: 0 / 0.9002 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002896/0.01157, allocations: 39.81 kB / 0.9002 GB, free: 14.62 MB / 0.8698 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.000286/0.01186, allocations: 278.2 kB / 0.9005 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.079e-05/0.01192, allocations: 15.69 kB / 0.9005 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01192, allocations: 0 / 0.9005 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.01192, allocations: 7.938 kB / 0.9005 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.01225, allocations: 0.7062 MB / 0.9012 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.0126, allocations: 233.5 kB / 0.9014 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.92e-05/0.01264, allocations: 55.36 kB / 0.9014 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.01267, allocations: 8.125 kB / 0.9014 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.01274, allocations: 82.17 kB / 0.9015 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/0.01274, allocations: 0 / 0.9015 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of Templates: time 0.002913/0.01565, allocations: 1.355 MB / 0.9029 GB, free: 11.87 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.299861514940858]