Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001394/0.001394, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 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.00208/0.00208, allocations: 165.7 kB / 22.45 MB, free: 5.375 MB / 14.72 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.553/1.553, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.987/2.987, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.662e-05/3.873e-05, allocations: 9.594 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005432/0.00547, allocations: 3.228 MB / 0.9846 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.00558, allocations: 51.75 kB / 0.9846 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.005604, allocations: 4 kB / 0.9846 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.005707, allocations: 0 / 0.9846 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.005801, allocations: 15.84 kB / 0.9846 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.006416, allocations: 195.1 kB / 0.9848 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.006516, allocations: 31.86 kB / 0.9849 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.006565, allocations: 15.94 kB / 0.9849 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.749e-05/0.006623, allocations: 23.91 kB / 0.9849 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.006699, allocations: 15.92 kB / 0.9849 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.006712, allocations: 0 / 0.9849 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.007013, allocations: 131.5 kB / 0.985 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.007071, allocations: 15.97 kB / 0.9851 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.007099, allocations: 7.938 kB / 0.9851 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.007384, allocations: 127.7 kB / 0.9852 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.007388, allocations: 0 / 0.9852 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/0.00739, allocations: 4 kB / 0.9852 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.007399, allocations: 4 kB / 0.9852 GB, free: 8.086 MB / 0.9356 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.0004725/0.007872, allocations: 266.3 kB / 0.9854 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.007911, allocations: 8.031 kB / 0.9855 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.007954, allocations: 4.938 kB / 0.9855 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.008074, allocations: 105.7 kB / 0.9856 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/0.008158, allocations: 51.97 kB / 0.9856 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.008171, allocations: 4.375 kB / 0.9856 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.008373, allocations: 71.89 kB / 0.9857 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.008385, allocations: 4.172 kB / 0.9857 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.008399, allocations: 3.938 kB / 0.9857 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.008434, allocations: 8 kB / 0.9857 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.008486, allocations: 15.98 kB / 0.9857 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.009062, allocations: 236.5 kB / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.252e-05/0.009114, allocations: 18.67 kB / 0.986 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.009137, allocations: 16.73 kB / 0.986 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.009245, allocations: 35.97 kB / 0.986 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.009288, allocations: 30.56 kB / 0.986 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.00929, allocations: 0 / 0.986 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.009458, allocations: 41.8 kB / 0.9861 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.009502, allocations: 51.41 kB / 0.9861 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.00961, allocations: 109.8 kB / 0.9862 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.009634, allocations: 29.7 kB / 0.9863 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.009692, allocations: 84.09 kB / 0.9863 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.597e-06/0.009701, allocations: 7.891 kB / 0.9863 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.009736, allocations: 13.72 kB / 0.9864 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.009896, allocations: 322.8 kB / 0.9867 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.009911, allocations: 3.938 kB / 0.9867 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.009942, allocations: 13.72 kB / 0.9867 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.009988, allocations: 29.73 kB / 0.9867 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.009992, allocations: 4 kB / 0.9867 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.768e-05/0.01008, allocations: 49.58 kB / 0.9868 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.0101, allocations: 11.98 kB / 0.9868 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.0101, allocations: 3.938 kB / 0.9868 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.01012, allocations: 0 / 0.9868 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.01017, allocations: 4 kB / 0.9868 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.01017, allocations: 0 / 0.9868 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.01019, allocations: 4 kB / 0.9868 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.0102, allocations: 4.062 kB / 0.9868 GB, free: 6.25 MB / 0.9356 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 9.557e-05/0.0103, allocations: 109.8 kB / 0.9869 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.01033, allocations: 3.938 kB / 0.9869 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.01046, allocations: 128.9 kB / 0.987 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-05/0.01054, allocations: 176.3 kB / 0.9872 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.423e-05/0.01063, allocations: 184.2 kB / 0.9874 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/0.01071, allocations: 176.3 kB / 0.9875 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.01098, allocations: 356.9 kB / 0.9879 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/0.01103, allocations: 104.9 kB / 0.988 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.01108, allocations: 109 kB / 0.9881 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.848e-05/0.01117, allocations: 188.1 kB / 0.9883 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-05/0.01126, allocations: 180.3 kB / 0.9884 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-05/0.01135, allocations: 180.3 kB / 0.9886 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.284e-05/0.01143, allocations: 184.2 kB / 0.9888 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.01162, allocations: 303.8 kB / 0.9891 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.01168, allocations: 112.9 kB / 0.9892 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.01179, allocations: 176.3 kB / 0.9893 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.01196, allocations: 112.9 kB / 0.9894 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.01205, allocations: 176.3 kB / 0.9896 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/0.01213, allocations: 112.9 kB / 0.9897 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.01219, allocations: 87.28 kB / 0.9898 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01219, allocations: 0 / 0.9898 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003008/0.01249, allocations: 35.86 kB / 0.9898 GB, free: 2.941 MB / 0.9356 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.0003531/0.01284, allocations: 238.5 kB / 0.9901 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.099e-05/0.01292, allocations: 8 kB / 0.9901 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01292, allocations: 0 / 0.9901 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.51e-06/0.01293, allocations: 7.922 kB / 0.9901 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.0135, allocations: 462.2 kB / 0.9905 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.01383, allocations: 180 kB / 0.9907 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.65e-05/0.0139, allocations: 55.36 kB / 0.9908 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.01394, allocations: 15.2 kB / 0.9908 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.01397, allocations: 8.5 kB / 0.9908 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01397, allocations: 0 / 0.9908 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.004502/0.01847, allocations: 1.278 MB / 0.992 GB, free: 0.7109 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.433869887143373]