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.001937/0.001937, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002/0.002, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.865/2.865, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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 1.693e-06/1.693e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.151e-05/4.32e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006227/0.00627, allocations: 3.395 MB / 0.7897 GB, free: 8.285 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.00639, allocations: 48.31 kB / 0.7897 GB, free: 8.238 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.006419, allocations: 1.25 kB / 0.7897 GB, free: 8.238 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.006535, allocations: 3.984 kB / 0.7897 GB, free: 8.234 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.575e-05/0.006621, allocations: 19.86 kB / 0.7898 GB, free: 8.215 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.007254, allocations: 197.9 kB / 0.7899 GB, free: 8.023 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.007346, allocations: 35.84 kB / 0.79 GB, free: 7.988 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.007376, allocations: 0.625 kB / 0.79 GB, free: 7.988 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.007448, allocations: 23.97 kB / 0.79 GB, free: 7.965 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.007518, allocations: 9.391 kB / 0.79 GB, free: 7.957 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.007536, allocations: 4 kB / 0.79 GB, free: 7.953 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.007854, allocations: 139.5 kB / 0.7902 GB, free: 7.816 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.007908, allocations: 4.828 kB / 0.7902 GB, free: 7.812 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.007943, allocations: 7.984 kB / 0.7902 GB, free: 7.805 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.008227, allocations: 128.2 kB / 0.7903 GB, free: 7.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.00823, allocations: 0 / 0.7903 GB, free: 7.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.052e-06/0.008231, allocations: 0.6875 kB / 0.7903 GB, free: 7.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.008236, allocations: 0 / 0.7903 GB, free: 7.68 MB / 0.698 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.0004863/0.008722, allocations: 377 kB / 0.7906 GB, free: 7.277 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.008757, allocations: 8.031 kB / 0.7907 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.008808, allocations: 9.594 kB / 0.7907 GB, free: 7.262 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.00894, allocations: 110.2 kB / 0.7908 GB, free: 7.129 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/0.009026, allocations: 51.97 kB / 0.7908 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.009036, allocations: 384 / 0.7908 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.009181, allocations: 67.89 kB / 0.7909 GB, free: 6.988 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.009189, allocations: 1.156 kB / 0.7909 GB, free: 6.988 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.009203, allocations: 7.922 kB / 0.7909 GB, free: 6.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.009226, allocations: 4 kB / 0.7909 GB, free: 6.977 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.009274, allocations: 15.27 kB / 0.7909 GB, free: 6.965 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.009852, allocations: 299.7 kB / 0.7912 GB, free: 6.637 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.872e-05/0.009911, allocations: 31.06 kB / 0.7912 GB, free: 6.594 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.009936, allocations: 15.56 kB / 0.7912 GB, free: 6.574 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.01004, allocations: 32.03 kB / 0.7913 GB, free: 6.543 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.01008, allocations: 41.39 kB / 0.7913 GB, free: 6.492 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.01008, allocations: 0 / 0.7913 GB, free: 6.492 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000151/0.01023, allocations: 34.42 kB / 0.7913 GB, free: 6.453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.01027, allocations: 51.41 kB / 0.7914 GB, free: 6.391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.01041, allocations: 167.6 kB / 0.7916 GB, free: 6.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.01043, allocations: 25.7 kB / 0.7916 GB, free: 6.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.01051, allocations: 130.8 kB / 0.7917 GB, free: 6.047 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-06/0.01052, allocations: 11.83 kB / 0.7917 GB, free: 6.035 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.01057, allocations: 28.52 kB / 0.7917 GB, free: 6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002642/0.01083, allocations: 496.1 kB / 0.7922 GB, free: 5.504 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.01084, allocations: 0 / 0.7922 GB, free: 5.504 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.01088, allocations: 24.31 kB / 0.7922 GB, free: 5.473 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.01092, allocations: 28.92 kB / 0.7923 GB, free: 5.438 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01093, allocations: 0 / 0.7923 GB, free: 5.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.817e-05/0.01101, allocations: 49.58 kB / 0.7923 GB, free: 5.383 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01103, allocations: 17.27 kB / 0.7923 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01104, allocations: 0 / 0.7923 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01105, allocations: 0 / 0.7923 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.393e-05/0.01109, allocations: 4.281 kB / 0.7923 GB, free: 5.363 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.0111, allocations: 0.5625 kB / 0.7923 GB, free: 5.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.01112, allocations: 4.562 kB / 0.7923 GB, free: 5.359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.01113, allocations: 0 / 0.7923 GB, free: 5.359 MB / 0.698 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 0.000121/0.01125, allocations: 162 kB / 0.7925 GB, free: 5.191 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.01128, allocations: 7.875 kB / 0.7925 GB, free: 5.184 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.01145, allocations: 173.2 kB / 0.7927 GB, free: 5.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001465/0.0116, allocations: 268.1 kB / 0.7929 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001513/0.01175, allocations: 273.6 kB / 0.7932 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001428/0.01189, allocations: 264.1 kB / 0.7934 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.01224, allocations: 0.492 MB / 0.7939 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.098e-05/0.01232, allocations: 144.9 kB / 0.7941 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.01241, allocations: 149.9 kB / 0.7942 GB, free: 3.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001452/0.01255, allocations: 275.9 kB / 0.7945 GB, free: 3.082 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.01271, allocations: 264.6 kB / 0.7947 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001502/0.01286, allocations: 272 kB / 0.795 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001362/0.01299, allocations: 264.6 kB / 0.7952 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.01327, allocations: 449 kB / 0.7956 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.01336, allocations: 152.8 kB / 0.7958 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.01352, allocations: 268 kB / 0.7961 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.01372, allocations: 153.5 kB / 0.7962 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.01386, allocations: 272.1 kB / 0.7965 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.01394, allocations: 153.7 kB / 0.7966 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.694e-05/0.01403, allocations: 128.6 kB / 0.7967 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.01403, allocations: 0 / 0.7967 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005107/0.01454, allocations: 39.86 kB / 0.7968 GB, free: 0.6367 MB / 0.698 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.0003599/0.0149, allocations: 284.6 kB / 0.797 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.685e-05/0.01499, allocations: 24.53 kB / 0.7971 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01499, allocations: 4 kB / 0.7971 GB, free: 332 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.01499, allocations: 2.312 kB / 0.7971 GB, free: 332 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.01561, allocations: 0.7062 MB / 0.7978 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.01595, allocations: 237.5 kB / 0.798 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.66e-05/0.01601, allocations: 55.36 kB / 0.798 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.01605, allocations: 11.42 kB / 0.798 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.01608, allocations: 8.5 kB / 0.7981 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.01608, allocations: 0 / 0.7981 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.00459/0.02067, allocations: 1.299 MB / 0.7993 GB, free: 14.03 MB / 0.7136 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 7.811223624972627]